Version Docker v3.0.0 (0b5fc57fdec8fef6fe2d769e982dc616d6ac252a).
Issue I get the following error when using variables"Variable lng hasn't been submitted"
Expected Same result as when not using variables.
Reproducing steps
The following request does work as expected:
query getSomePoisNearby(){
poi(filters: [
{
isLocatedAt: {
schema_geo: { _geo_distance: {lng: "44.7", lat: "-0.5", distance: "1" } }
}
}
]){
total
}
}
But the following doesn’t and return the earlier quoted error:
query getSomePoisNearby($lat: String!, $lng: String!){
poi(filters: [
{
isLocatedAt: {
schema_geo: { _geo_distance: {lng: $lng , lat: $lat , distance: "1" } }
}
}
]){
total
}
}
Submiting with variables:
{
"lng": "44.7",
"lat": "-0.5"
}