-
Notifications
You must be signed in to change notification settings - Fork 37
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 loosing properties when generating verifiable credentials #432
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't fix the issue for two reasons:
createVerifiableCredential
is not the only entrypoint.- The default options should be set according to the behaviour we want (keep the properties)
Even Also default options is the same as did-jwt-vc. it's empty object in default. |
I didn't say it was harmful, I said it's not the only entrypoint, implying the same logic should be applied to the other ones. The proof-connector is supposed to use
It's been flagged as a bug to loose the properties, passing an empty object doesn't fix the bug. Whatever did-jwt-vc uses as default options, if we think these properties should not be lost we should set the options accordingly. |
Yeah, I understand. If it's not the only entrypoint. I will go through other endpoints. Sure, we won't pass empty options. Empty is just default value if we don't pass the option. |
No description provided.