We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93ce66b commit f6bad99Copy full SHA for f6bad99
src/content/code/language-support/ruby/server/rails-graphql.md
@@ -0,0 +1,21 @@
1
+---
2
+name: Rails GraphQL
3
+description: A Fresh new GraphQL server for Rails applications, with a focus on natural and Ruby-like DSL
4
+url: https://www.rails-graphql.dev/
5
+github: virtualshield/rails-graphql
6
+gem: rails-graphql
7
8
+
9
+```ruby
10
+require 'rails-graphql'
11
12
+class GraphQL::AppSchema < GraphQL::Schema
13
+ query_fields do
14
+ field(:hello).resolve { 'Hello World!' }
15
+ end
16
+end
17
18
+puts GraphQL::AppSchema.execute('{ hello }')
19
+```
20
21
+Less is more! Please check it out the [docs](https://www.rails-graphql.dev/?utm_source=graphql_org).
0 commit comments