Ruby JavaScript HTML Other
Clone or download
Latest commit e514baf Jul 18, 2018
Failed to load latest commit information.
.github doc(CONTRIBUTING) Add Mar 13, 2017
benchmark before and after take cursors, not global IDs. Update the arg descrip… Jun 11, 2018
gemfiles Manually remove some entries from no-rails gemfile Apr 27, 2018
guides Update index.html Jul 18, 2018
javascript_client js 1.4.0 Apr 13, 2018
lib Remove delegate for `FieldResolutionContext#schema` Jul 18, 2018
spec feat(Tracing) add Prometheus Jul 16, 2018
.codeclimate.yml Update .codeclimate.yml Jan 25, 2018
.gitattributes Suppress showing diffs for .lock and .snap files in GitHub PRs Sep 20, 2017
.gitignore Merge build tooling Sep 18, 2017
.rubocop.yml Fix lint errors Apr 24, 2018
.travis.yml Add MongoDB service to Travis CI config Apr 26, 2018
.yardopts doc(guides) write some new guides Oct 19, 2016
Appraisals Test on Rails 5.2 Apr 19, 2018 release graphql-pro 1.7.8 Jul 10, 2018 Replace `-> (...)` with `->(...)` to be Ruby 1.9.3 compatible Oct 16, 2016 1.8.5 Jul 10, 2018
CNAME Add custom domain for gh-pages May 27, 2017
Gemfile update search configuration Jun 1, 2018
Guardfile Don't use a deterministic resolve; support direct-reference field types Apr 4, 2018
MIT-LICENSE Initial commit Feb 5, 2015
Rakefile Check Racc and Ragel versions before building the parser Nov 30, 2017
graphql-ruby.png feat(website) make new layout May 27, 2017
graphql-ruby.svg feat(website) make new layout May 27, 2017
graphql.gemspec update search configuration Jun 1, 2018 update pro links May 3, 2018

graphql graphql-ruby

Build Status Gem Version Code Climate Test Coverage built with love

A Ruby implementation of GraphQL.


Install from RubyGems by adding it to your Gemfile, then bundling.

# Gemfile
gem 'graphql'
$ bundle install

Getting Started

$ rails generate graphql:install

After this, you may need to run bundle install again, as by default graphiql-rails is added on installation.

Or, see "Getting Started".


I also sell GraphQL::Pro which provides several features on top of the GraphQL runtime, including authorization, Pusher-based subscriptions and persisted queries. Besides that, Pro customers get email support and an opportunity to support graphql-ruby's development!


  • Implement the GraphQL spec & support a Relay front end
  • Provide idiomatic, plain-Ruby API with similarities to reference implementation where possible
  • Support Ruby on Rails and Relay

Getting Involved