You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
everywhere it says "key", is actually "path". Took a minute the graphiQL ui was trying to explain this, but because of 2. I was lost for some time
If you happen to use the "history" to enter an old query, two query parameters are added to the URL &variables=null&operationName=undefined, which causes irmin-graphql to return code 500, and also something else impenetrable happens to the url encoded query. These query parameters will remain on the URL, even if some noobwan pastes something that used to work from the tutorial into the box directly without using the history. Until the address bar is manually returned to localhost:8080/graphql, basically nothing anyone tries will work!
Mind was trully boggled for about 3 or 4 hours of having no idea where to look. I looked... in a lot of places, read source code, etc.
big love, amazing project, tytyty
The text was updated successfully, but these errors were encountered:
christopherreay
changed the title
Query format in docs is totally different to graphql web ui
graphql query format in tutorial is different from the schema, and also another thing
Jun 27, 2024
Thanks a lot for discovering and reporting these issues with such details! PRs have been opened to address both points. Do not hesitate if you have seen any other weird behavior that we could address :)
This query format documented in:
https://irmin.io/tutorial/graphql/
as compared to the graphiQL web UI
is different
&variables=null&operationName=undefined
, which causes irmin-graphql to return code 500, and also something else impenetrable happens to the url encoded query. These query parameters will remain on the URL, even if some noobwan pastes something that used to work from the tutorial into the box directly without using the history. Until the address bar is manually returned to localhost:8080/graphql, basically nothing anyone tries will work!Mind was trully boggled for about 3 or 4 hours of having no idea where to look. I looked... in a lot of places, read source code, etc.
big love, amazing project, tytyty
The text was updated successfully, but these errors were encountered: