Hello,
for my Settings type:
type Settings @exclude(operations: [UPDATE, DELETE]){
id: ID @id(autogenerate: true)
fromDate: DateTime! @timestamp @readonly
toDate: DateTime @readonly
client: Client! @relationship(type: "HAS_SETTINGS", direction: IN)
}
I would like to get the current client setting (the one with toDate
= NULL.
This does not work:
query Settings($settingsWhere: SettingsWhere, $settingsOptions: SettingsOptions) {
settings (where: {client:{login:"developers+adhoc@acme.com"}, toDate:NULL}){
fromDate
toDate
client {
login
}
}
}
Got the error in graphql client: DateTime cannot represent non string value
I also tried with different combinations of Logical operators (AND, OR, NOT) on the null field, but no luck.
Any idea?
Thanks,
Milan