When using the Order Filters, the syntax is order[field]=<asc|desc>.
Right now, if a user submits this query with something invalid, like order[field]=true, the filter is not applied and the User has no idea why his response is not ordered as expected.
Can we issue a 400 Response when a value other than asc, desc, or '' are sent in the query?
When using the Order Filters, the syntax is
order[field]=<asc|desc>.Right now, if a user submits this query with something invalid, like
order[field]=true, the filter is not applied and the User has no idea why his response is not ordered as expected.Can we issue a 400 Response when a value other than
asc,desc, or''are sent in the query?