Query to filter the shows by a non-existing filter returns all the shows
Using the feature/api-docs branch for !21 (merged) after applying the migration and creating a show using the REST API.
Querying for shows and filtering using a non-existent filter, returns a 200 status and the list of all the shows:
http -p=h localhost:8000/api/v1/shows/?nonexistent=99
HTTP/1.1 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Length: 920
Content-Type: application/json
Date: Fri, 25 Mar 2022 22:49:34 GMT
Server: WSGIServer/0.2 CPython/3.9.12
Vary: Accept, Origin
I would expect to return a 400 status because the request is not a valid one.
Edited by Ernesto Rico Schmidt