this is my mutation ``` mutation { createGeoJson...
# orm-help
b
this is my mutation
Copy code
mutation {
  createGeoJson(data: {type: "Point" coordinates: [1, 4]}) {
    id
  }
}
j
Maybe you’re missing a comma after “Point”?
b
nope, doesnt make a difference...
j
your type definition is looking for an Int
you’re sending an array
b
@Jonathan but writing
[Int]
means I am expecting a list of the scalar type Int, or not?
okay I figured it out, this is what it has to look like:```mutation { createGeoJson(data: {type: "Point", coordinates: {set: [2, 4]}}) { id } }```
thanks for being my rubber duck 🙂
j
nice!
👍 1