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
{
"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"
}
The console generates the following query
The
_andis generated as an object. It should be an arrayThis gives the following error