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

fix: use type and credentialSubject properties in VerifiableCredential #280

Conversation

bscholtes1A
Copy link
Contributor

What this PR changes/adds

Use class argument name and serialized name for the type and credentialSubject properties of the VerifiableCredential object.

Why it does that

This is required to have a consistent way to query for a VC independently on the type of VC store (in-mem store uses reflection while PostgreSQL store will work on the serialized json structure.

Further notes

List other areas of code that have changed but are not necessarily linked to the main feature. This could be method
signature changes, package declarations, bugs that were encountered and were fixed inline, etc.

Linked Issue(s)

Closes # <-- insert Issue number if one exists

Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

@bscholtes1A bscholtes1A added the bug Something isn't working label Feb 20, 2024
@bscholtes1A bscholtes1A force-pushed the fix/vc_type_credentialsubject_properties branch from fe11e14 to bbb8639 Compare February 20, 2024 10:10
@bscholtes1A bscholtes1A force-pushed the fix/vc_type_credentialsubject_properties branch from bbb8639 to a8fcf2c Compare February 20, 2024 10:16
@bscholtes1A bscholtes1A merged commit 8f3d1c1 into eclipse-edc:main Feb 20, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants