Open islamaliev opened 4 months ago
Note:
Author(filter: {published: {_len: 2}) {
is just filtering by aggregate (_count
), and so is already solved by views, long term this would be handled by alias targeting for those who don't want to bother creating views.
In a one-many this also applies to Author(filter: {published: {_eq: null})
, which is just another way of wording Author(filter: {published: {_len: 0}) {
I suggest we close this ticket.
At the moment it is possible to filter secondary objects by certain criteria in primary objects. Like so:
But it is not possible to find secondary objects that have no related objects:
Would be also great to be able to request objects by number of related objects
But for this a new
_len
operator needs to be implemented.Here is a full integration test: