Open nizar-m opened 5 years ago
The console generates the following query
{ "type": "bulk", "args": [ { "type": "create_remote_relationship", "args": { "name": "foo", . . "remote_field": { "hge_remote_addresses": { "arguments": { "where": { "_and": { "id": { "_eq": "$id" }, "floor": { "_eq": "$location_id" } . . }
The _and is generated as an object. It should be an array This gives the following error
_and
{ "path": "$.args[0].args", "error": "ExpectedTypeButGot (TypeNamed (Nullability {unNullability = True}) (NamedType {unNamedType = Name {unName = \"String\"}})) (TypeNamed (Nullability {unNullability = True}) (NamedType {unNamedType = Name {unName = \"Int\"}})) :| []", "code": "remote-schema-error" }
@nizar-m could you open this issue against the original repository https://github.com/hasura/graphql-engine?
The console generates the following query
The
_and
is generated as an object. It should be an array This gives the following error