Skip to content

Conversation

@paullatzelsperger
Copy link
Member

What this PR changes/adds

The "query-by-credential-type" endpoint now gracefully handles the case where the credential type is not specified.
In that case, all credentials are returned (within the constraints of the default QuerySpec).

Why it does that

providing an incomplete criterion caused a Nullpointer Exception

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.

@paullatzelsperger paullatzelsperger added bug Something isn't working api labels Nov 13, 2024
@paullatzelsperger paullatzelsperger merged commit cdb8379 into eclipse-edc:main Nov 13, 2024
@paullatzelsperger paullatzelsperger deleted the fix/query_credential_by_type branch November 13, 2024 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants