Open fosterlynn opened 4 years ago
Thanks Lynn, that's helpful!
Could you please share what queries you used for the create mutations, so we can test the same ones?
Will share an example for measure later.
Could you please share what queries you used for the create mutations, so we can test the same ones?
mutation{createIntent(intent:{name:"test-more stuff", note: "test note",
due: "2020-08-18T8:00:00-5:00", image: "http://example.images.com/my-image.png"}){
intent {
id
note
due
image
}
}}
mutation{createIntent(intent:{name:"test-provider", note: "test note",
provider: "01EDEWFW4NZY04VQJ9VVD6J6HN"}){
intent {
id
provider {
id
}
}
}}
mutation{createSpatialThing(spatialThing:{name:"Willy Street Coop",
note: "test note",
lat: 45.44,
long: 83.666,
alt: 423,
mappableAddress: "1221 Williamson St., Madison, WI 53703"}){
spatialThing {
id
note
name
lat
long
alt
mappableAddress
}
}}
[edit] Just tested spatialThing without lat, long, alt, and it does work that way, although it does not set the long/lat based on mappableAddress. Not sure what we need to happen there.
works:
doesn't work:
Notes and questions: