Open afreix opened 5 years ago
I believe you have an extra field point
in your geography representation.
Could you try the query with the following object instead
{
"object": {
"name": "Eiffel Tower",
"location": {
"type": "Point",
"coordinates": [1,1]
}
}
}
Ah you're right. I tried that as well, and I'm still seeing the error. Luckily, the mutation still works (despite seeing an error in the console), so it looks like this is a pretty minor bug
Thanks for the help!
I'm still seeing the error today. ~And it doesn't allow me to execute the mutation.~ Ah I can insert it despite the error showing...
~How can I overcome this issue?~
@rikinsk This error from GraphQL console is still actual. Hasura version: v2.2.0 https://github.com/hasura/graphql-engine/issues/3272#issuecomment-743382617
Same error
it's working fine even with the error.
same here. it works but still displays the error
Hello hasura team,
I have a table created by running the following command
when trying to insert via the console, I get an error "Expected value of type geography" for the
location
propertywhen I go into the explorer tab, I see that
location
is of typegeography
, but clicking intogeography
brings me to a blank screen.I've also executed the follow SQL commands in the SQL tab on the console
as mentioned here: https://blog.hasura.io/graphql-and-geo-location-on-postgres-using-hasura-562e7bd47a2f/
Based on the docs I would have expected this to work