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.
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._