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

Add UnmarshalCredentialStatus #96

Merged
merged 2 commits into from
Dec 1, 2023
Merged

Conversation

gerardsn
Copy link
Member

@gerardsn gerardsn commented Nov 28, 2023

Needed to introduce StatusList2021 I can't find in the spec if credentialStatus can be an array or not. All examples are objects. CredentialStatus can be an array or an object so applied similar logic as the other plural fields.

Marshaling of the credentialStatus is slightly different from the credentialSubject and proof fields since its format is not necessarily defined by the credential type. A credential type could require using one of several CredentialStatus mechanisms.

@gerardsn gerardsn merged commit fe64a8c into master Dec 1, 2023
1 check passed
@gerardsn gerardsn deleted the add-UnmarshalCredentialStatus branch December 1, 2023 08:11
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.

2 participants