Return empty array when query param doesn't match record instead of "Select a valid choice. That choice is not one of the available choices." #1529
Answered
by
carltongibson
cheslijones
asked this question in
Q&A
-
I have a URI like the following:
There are no records in the corresponding table that match that query param. My expectation is that it would return:
But instead it returns:
I'm just curious: can this behavior can be modified in
|
Beta Was this translation helpful? Give feedback.
Answered by
carltongibson
Aug 23, 2022
Replies: 1 comment 1 reply
-
You can do something like this:
See #788 (comment) and surrounding comments. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
cheslijones
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can do something like this:
See #788 (comment) and surrounding comments.