Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update GraphQL to latest version and add / improve support for passed arguments #2367

johannilsson opened this issue Nov 14, 2016 · 3 comments


Copy link

Arguments sent to the GraphQL endpoint is sent as a string from GraphiQL and needs to be deserialized before they're passed to the GraphQL library. Other GraphQL implementations also seems to handle this case.

The GraphQL version OTP is currently on does not work with complex types sent as arguments, this has been fixed in newer versions of the library.

johannilsson added a commit to johannilsson/OpenTripPlanner that referenced this issue Nov 14, 2016
* Update GraphQL library to latest stable version (2.2.0)
* Add support for parsing arguments if they're sent as a string
* Add support for operationName to the graphql endpoint
* Fix issue with findClosestStopsByWalking where the routing context must be set after batch

Fix opentripplanner#2367
johannilsson added a commit to johannilsson/OpenTripPlanner that referenced this issue Nov 22, 2016
Copy link

Does anyone of you guys @johannilsson or @hannesj know anything about GraphiQL ( One of our developers looked at it, and it could make it easier to develop against GraphQL.

Copy link

andreyz commented Dec 19, 2016

@barslett you might even like a native wrapper around it

More great GraphQL resources here

Copy link

hannesj commented Dec 19, 2016

@barslett We are using it at

Also the locally installable version for development.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

No branches or pull requests

4 participants