-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enforcing controller
type to be a list of string
#118
Conversation
test-vectors/did_jwk/resolve.json
Outdated
"https://www.w3.org/ns/did/v1", | ||
"https://w3id.org/security/suites/jws-2020/v1" | ||
], | ||
"@context": "https://www.w3.org/ns/did/v1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
forcing @context
to be a string, not a list of strings
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you force this to be a list of strings? I think that will be the most common case for context (if we should choose to use it)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, that sounds good! i'll update the original PR to build DIDDocument with a list of string for @context
now.
@@ -88,7 +88,9 @@ | |||
}, | |||
"output": { | |||
"id": "did:dht:cyuoqaf7itop8ohww4yn5ojg13qaq83r9zihgqntc5i9zwrfdfoo", | |||
"controller": "did:example:abcd", | |||
"controller": [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
forcing controller to be a list of strings
controller
type to be a list of string controller
type to be a list of string and @context
type to be a string
controller
type to be a list of string and @context
type to be a stringcontroller
type to be a list of string
blocks decentralized-identity/web5-kt#248