We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@context
Shouldn't this test suite follow the VC data model specification?
This test checks for subsequent items to be strings, however in the spec it allows for objects:
it('credential "@context" items MUST be strings.', async function() { this.test.cell = { columnId: name, rowId: this.test.title }; const body = createRequestBody({issuer}); const invalidContextTypes = [{foo: true}, 4, false, null]; for(const invalidContextType of invalidContextTypes) { body.credential['@context'] = invalidContextType; const {result, error} = await issuer.post({json: {...body}}); shouldThrowInvalidInput({result, error}); } });
The spec reads: Subsequent items in the array MUST express context information and be composed of any combination of URIs or objects.
Subsequent items in the array MUST express context information and be composed of any combination of URIs or objects.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Shouldn't this test suite follow the VC data model specification?
This test checks for subsequent items to be strings, however in the spec it allows for objects:
The spec reads:
Subsequent items in the array MUST express context information and be composed of any combination of URIs or objects.
The text was updated successfully, but these errors were encountered: