In the current filtering or future (#293?) filtering mechanism, can we designate a way to query for a null value? This may have implications for how various implementing languages treat NULL vs. undefined or whatever, but the scope of what I'm discussing here is that if a resource can return key: null in JSON, I should be able to filter as ?key=null somehow and retrieve those objects.
Use cases:
- A post without an author
- Distinguish between
summary === null vs. summary === ''
I'm agnostic as to how, and I'm not even sure I have a good idea to suggest (?author=%00? probably not...).
It might be worth mentioning that this could affect #267 as well...i.e. should specifying a filter value of null on a to-many relationship designate zero related objects?
In the current filtering or future (#293?) filtering mechanism, can we designate a way to query for a null value? This may have implications for how various implementing languages treat NULL vs. undefined or whatever, but the scope of what I'm discussing here is that if a resource can return
key: nullin JSON, I should be able to filter as?key=nullsomehow and retrieve those objects.Use cases:
summary === nullvs.summary === ''I'm agnostic as to how, and I'm not even sure I have a good idea to suggest (
?author=%00? probably not...).It might be worth mentioning that this could affect #267 as well...i.e. should specifying a filter value of null on a to-many relationship designate zero related objects?