graphql-ruby-demo icon indicating copy to clipboard operation
graphql-ruby-demo copied to clipboard

Use graphql-ruby to expose a Rails app

Results 5 graphql-ruby-demo issues
Sort by recently updated
recently updated
newest added

I would like to beef up this application in order to provide examples of more advanced usage. I have a few possibilities in mind: - Pick a domain with familiar...

https://github.com/rmosolgo/graphql-ruby-demo/blob/master/app/graph/queries/readLukesFriends.graphql Running this query ``` query readLukesFriends { luke: human(id: 1000) { friends { name } } } ``` http://graphql-ruby-demo.herokuapp.com/graphiql?query=%7B%0A%20%20luke%3A%20human(id%3A%201000)%20%7B%0A%20%20%20%20friends%20%7B%20name%20%7D%0A%20%20%7D%0A%7D Returns "Field 'name' doesn't exist on type 'CharacterConnection'" But this...

This documentation is great: https://rmosolgo.github.io/graphql-ruby/relay/mutations but I'd love to see how mutations should be done by looking in this demo app.

Would it be valuable to support the same behaviour as implemented in [graphql/swapi-graphql](http://github.com/graphql/swapi-graphql) project? Users will be able to run the same [example queries](https://github.com/graphql/swapi-graphql/tree/master/doc/example_queries) and compare implementations.