Skip to content
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

Merged
merged 5 commits into from
Mar 6, 2024

Conversation

jiyoonie9
Copy link
Contributor

@jiyoonie9 jiyoonie9 commented Feb 26, 2024

"https://www.w3.org/ns/did/v1",
"https://w3id.org/security/suites/jws-2020/v1"
],
"@context": "https://www.w3.org/ns/did/v1",
Copy link
Contributor Author

@jiyoonie9 jiyoonie9 Feb 28, 2024

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

Copy link
Member

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)

Copy link
Contributor Author

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": [
Copy link
Contributor Author

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

@jiyoonie9 jiyoonie9 changed the title enforcing controller type to be a list of string enforcing controller type to be a list of string and @context type to be a string Feb 28, 2024
@jiyoonie9 jiyoonie9 marked this pull request as ready for review March 1, 2024 03:47
@jiyoonie9 jiyoonie9 changed the title enforcing controller type to be a list of string and @context type to be a string enforcing controller type to be a list of string Mar 6, 2024
@jiyoonie9 jiyoonie9 merged commit 2cd6e80 into main Mar 6, 2024
1 check passed
@jiyoonie9 jiyoonie9 deleted the testvector-controller-to-a-list branch March 6, 2024 01:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants