miLibris / flask-rest-jsonapi

Flask extension to build REST APIs around JSONAPI 1.0 specification.
http://flask-rest-jsonapi.readthedocs.io
MIT License
597 stars 153 forks source link

Operator 'in' does not work with null value #90

Closed AndreNalevaiko closed 5 years ago

AndreNalevaiko commented 6 years ago

In version 0.12.5 was corrected the comparison between null value in the operator 'eq'. But in the operator 'in' the same thing is not working.

filter : {"name":"category_id","op":"in","val":[1,null]}

akira-dev commented 5 years ago

Have you tried to use or instead of in ?

AndreNalevaiko commented 5 years ago

Have you tried to use or instead of in ?

With 'or' is working. But should not work with 'in'?

akira-dev commented 5 years ago

It is a sql behavior it is not related to this library