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

API tests for data property 'type' don't cover both string and array cases #19

Open
AlexYenkalov opened this issue Mar 16, 2021 · 0 comments

Comments

@AlexYenkalov
Copy link
Contributor

In the VC Spec, the property type can be string OR array. (The spec, interestingly, does not specify if it can be an array with only one member, which is how Spherity has historically done it). We think validation should validate string AND array, including one-member arrays.

@msporny msporny transferred this issue from w3c-ccg/vc-api Mar 20, 2022
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

No branches or pull requests

1 participant