graphql-platform
graphql-platform copied to clipboard
Get all where sub-item is null
Is your feature request related to a problem?
Sorry if this is basic! But I just can´t filter/select by null values. I have looked everywhere. I have tried all kinds of syntax without any luck. I gave this here a go https://chillicream.com/docs/hotchocolate/fetching-data/filtering.
So here I´m getting everything, and you see a Site == null. I would like to get all where Site == null
The solution you'd like
But I would like something like this this
{
devices(where: { site: { any: false} }) {
nodes{
id
machineCode
site {
id
customer {
id
}
address {
city
}
}
hardwareInformation {
systemVendor
}
}
}
Is this possible to day?
Product
Hot Chocolate
So I´m guessing this isn´t possible at the moment, right?
Checking for null would run into #5316