FilterMixin and None qs
When a resolver function returns None
for in FilterMixin
, we get back a qs with all model instances instead of null
. The reason is due to how FilterSet
s handle None
when passed as the queryset
kwarg; it does an all()
call for all model instances. Adding a check for None
in the filter_resolver()
function should solve the issue.
Edited by Christopher Dilley