-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
GraphQL to the RESTque #1491
Comments
I definitely think a graphql implementation on top of Grape could be cool, even if it's tightly coupled. At @artsy we've been putting node.js middleware in front of multiple API services. Our implementation is https://github.com/artsy/metaphysics (not Ruby). |
@dblock as I understand from the first glance looking into the metaphysics source code it works in the following way: once graphql query goes to the server, it resolves data from REST API and responds back to graphql requester? So it never access the database directly. |
Correct @dm1try, we front APIs with it. Also read http://artsy.github.io/blog/2016/06/19/graphql-for-mobile/. |
There's been some great discussion on the GitLab issues about potentially making a graphql-grape gem: https://gitlab.com/gitlab-org/gitlab-ce/issues/22753#note_32230765 |
Established: https://gitlab.com/gitlab-org/gitlab-ce/issues/34754 |
Did anyone had an idea to implement GraphQL along with REST API?
Looks like when there are https://github.com/ruby-grape/grape-entity in the existing project, adding GraphQL could be done very easily (once it will be implemented).
Lets discuss future opportunities once GraphQL will be implemented within grape.
The text was updated successfully, but these errors were encountered: