-
Notifications
You must be signed in to change notification settings - Fork 16
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
Handling of optional property in fields object fails #150
Comments
Yeah good one. Probably what we will do is create a new release of the models/OpenAPI schema's, which means this error will not be present. But actually taking the optionality into account will have to wait a small bit. So will leave this ticket open |
Okay this has been added to https://github.com/Sphereon-Opensource/PEX/releases/tag/v3.3.2 |
@nklomp the optional field still produces an error when using definitionVersionDiscovery or evaluatePresentation, looks like its missing from |
I'm submitting a ...
[x] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project
Summary
According to https://identity.foundation/presentation-exchange/#input-descriptor-object:
The library is not able to handle the optional property in the fields object. Filtering or presentation evalutation fails with an InvalidPresentation error.
Other information
Code snippet:
Output:
The text was updated successfully, but these errors were encountered: