Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 527 Bytes

File metadata and controls

21 lines (17 loc) · 527 Bytes
name description url github gem
Rails GraphQL
A Fresh new GraphQL server for Rails applications, with a focus on natural and Ruby-like DSL
virtualshield/rails-graphql
rails-graphql
require 'rails-graphql'

class GraphQL::AppSchema < GraphQL::Schema
  query_fields do
    field(:hello).resolve { 'Hello World!' }
  end
end

puts GraphQL::AppSchema.execute('{ hello }')

Less is more! Please check it out the docs.