3 | GraphQL meets RoR 4 | with the most Ruby-like DSL 5 |
6 |├── .gitmodules
├── docs
├── CNAME
├── .gitignore
├── favicon.ico
├── _includes
│ ├── hierarchy-sub.md
│ ├── table-of-contents.html
│ ├── installation.md
│ ├── search.html
│ ├── tracking.html
│ ├── type-creators.md
│ ├── banner.html
│ ├── type-description.md
│ ├── 3-steps.html
│ ├── head.html
│ ├── breadcrumb.html
│ ├── introspection-query.html
│ └── features.md
├── _sass
│ ├── support
│ │ ├── mixins
│ │ │ ├── mixins.scss
│ │ │ ├── _buttons.scss
│ │ │ ├── _layout.scss
│ │ │ └── _typography.scss
│ │ ├── support.scss
│ │ └── _functions.scss
│ ├── utilities
│ │ ├── utilities.scss
│ │ ├── _lists.scss
│ │ ├── _typography.scss
│ │ └── _layout.scss
│ ├── mermaid.scss
│ ├── modules.scss
│ ├── labels.scss
│ ├── mixins.scss
│ ├── print.scss
│ ├── typography.scss
│ ├── overrides.scss
│ ├── tables.scss
│ ├── base.scss
│ ├── callouts.scss
│ └── code
│ │ └── vs.scss
├── assets
│ ├── images
│ │ ├── logo.png
│ │ ├── banner.png
│ │ ├── github.png
│ │ ├── favicon-16x16.png
│ │ ├── favicon-32x32.png
│ │ ├── release-banner.png
│ │ ├── apple-touch-icon.png
│ │ ├── android-chrome-192x192.png
│ │ ├── android-chrome-512x512.png
│ │ └── site.webmanifest
│ ├── fonts
│ │ ├── ITCAvantGardeStd-Bk.woff
│ │ ├── ITCAvantGardeStd-Md.woff
│ │ ├── ITCAvantGardeStd-Bk.woff2
│ │ ├── ITCAvantGardeStd-BkCn.woff
│ │ ├── ITCAvantGardeStd-BkCn.woff2
│ │ ├── ITCAvantGardeStd-BkObl.woff
│ │ ├── ITCAvantGardeStd-Bold.woff
│ │ ├── ITCAvantGardeStd-Bold.woff2
│ │ ├── ITCAvantGardeStd-Demi.woff
│ │ ├── ITCAvantGardeStd-Demi.woff2
│ │ ├── ITCAvantGardeStd-Md.woff2
│ │ ├── ITCAvantGardeStd-MdCn.woff
│ │ ├── ITCAvantGardeStd-MdCn.woff2
│ │ ├── ITCAvantGardeStd-MdObl.woff
│ │ ├── ITCAvantGardeStd-XLt.woff
│ │ ├── ITCAvantGardeStd-XLt.woff2
│ │ ├── ITCAvantGardeStd-XLtCn.woff
│ │ ├── ITCAvantGardeStd-BkCnObl.woff
│ │ ├── ITCAvantGardeStd-BkObl.woff2
│ │ ├── ITCAvantGardeStd-BoldCn.woff
│ │ ├── ITCAvantGardeStd-BoldCn.woff2
│ │ ├── ITCAvantGardeStd-BoldObl.woff
│ │ ├── ITCAvantGardeStd-DemiCn.woff
│ │ ├── ITCAvantGardeStd-DemiCn.woff2
│ │ ├── ITCAvantGardeStd-DemiObl.woff
│ │ ├── ITCAvantGardeStd-MdCnObl.woff
│ │ ├── ITCAvantGardeStd-MdObl.woff2
│ │ ├── ITCAvantGardeStd-XLtCn.woff2
│ │ ├── ITCAvantGardeStd-XLtObl.woff
│ │ ├── ITCAvantGardeStd-XLtObl.woff2
│ │ ├── ITCAvantGardeStd-BkCnObl.woff2
│ │ ├── ITCAvantGardeStd-BoldCnObl.woff
│ │ ├── ITCAvantGardeStd-BoldCnObl.woff2
│ │ ├── ITCAvantGardeStd-BoldObl.woff2
│ │ ├── ITCAvantGardeStd-DemiCnObl.woff
│ │ ├── ITCAvantGardeStd-DemiCnObl.woff2
│ │ ├── ITCAvantGardeStd-DemiObl.woff2
│ │ ├── ITCAvantGardeStd-MdCnObl.woff2
│ │ ├── ITCAvantGardeStd-XLtCnObl.woff
│ │ └── ITCAvantGardeStd-XLtCnObl.woff2
│ ├── js
│ │ ├── site.js
│ │ ├── events.js
│ │ └── code.js
│ └── css
│ │ └── site.scss
├── robots.txt
├── _layouts
│ ├── table-wrappers.html
│ └── default.html
├── index.md
├── handbook
│ └── snippets.md
├── 404.html
├── guides
│ ├── advanced
│ │ ├── abstract.md
│ │ └── type-assignment.md
│ ├── subscriptions
│ │ ├── memory-store.md
│ │ └── action-cable-provider.md
│ ├── testing.md
│ ├── recommendations.md
│ ├── objects.md
│ ├── sources
│ │ └── scoped-arguments.md
│ └── global-id.md
└── Gemfile
├── test
├── assets
│ ├── introspection-db.json
│ ├── luke.jpg
│ ├── en.yml
│ └── introspection.gql
├── graphql
│ ├── type
│ │ ├── scalar
│ │ │ ├── string_scalar_test.rb
│ │ │ ├── binary_scalar_test.rb
│ │ │ ├── float_scalar_test.rb
│ │ │ ├── json_scalar_test.rb
│ │ │ ├── id_scalar_test.rb
│ │ │ ├── decimal_scalar_test.rb
│ │ │ ├── int_scalar_test.rb
│ │ │ ├── date_scalar_test.rb
│ │ │ ├── date_time_scalar_test.rb
│ │ │ ├── any_scalar_test.rb
│ │ │ ├── time_scalar_test.rb
│ │ │ ├── boolean_scalar_test.rb
│ │ │ └── bigint_scalar_test.rb
│ │ └── scalar_test.rb
│ ├── request
│ │ ├── component
│ │ │ └── operation_test.rb
│ │ └── context_test.rb
│ └── type_test.rb
├── integration
│ ├── mysql
│ │ └── star_wars_introspection_test.rb
│ ├── sqlite
│ │ └── star_wars_introspection_test.rb
│ ├── customization_test.rb
│ └── schemas
│ │ └── mysql.rb
├── graphql_test.rb
└── test_ext.rb
├── .gitattributes
├── ext
├── .gitignore
├── extconf.h
├── extconf.rb
├── console.rb
└── gql_parser.h
├── .codeclimate.yml
├── lib
├── rails-graphql.rb
├── rails
│ ├── graphql.rake
│ └── graphql
│ │ ├── railties
│ │ ├── app
│ │ │ ├── base_channel.rb
│ │ │ ├── base_controller.rb
│ │ │ └── views
│ │ │ │ ├── _fetch.js.erb
│ │ │ │ └── _cable.js.erb
│ │ ├── base_generator.rb
│ │ └── controller_runtime.rb
│ │ ├── collectors.rb
│ │ ├── helpers
│ │ ├── unregisterable.rb
│ │ ├── instantiable.rb
│ │ ├── with_global_id.rb
│ │ ├── with_name.rb
│ │ ├── with_namespace.rb
│ │ ├── attribute_delegator.rb
│ │ ├── inherited_collection
│ │ │ ├── base.rb
│ │ │ └── array.rb
│ │ ├── with_owner.rb
│ │ └── with_validator.rb
│ │ ├── subscription.rb
│ │ ├── alternative
│ │ ├── mutation.rb
│ │ ├── subscription.rb
│ │ └── field_set.rb
│ │ ├── subscription
│ │ ├── provider.rb
│ │ └── store.rb
│ │ ├── version.rb
│ │ ├── alternative.rb
│ │ ├── type
│ │ ├── scalar
│ │ │ ├── any_scalar.rb
│ │ │ ├── float_scalar.rb
│ │ │ ├── date_time_scalar.rb
│ │ │ ├── bigint_scalar.rb
│ │ │ ├── date_scalar.rb
│ │ │ ├── binary_scalar.rb
│ │ │ ├── boolean_scalar.rb
│ │ │ ├── json_scalar.rb
│ │ │ ├── decimal_scalar.rb
│ │ │ ├── int_scalar.rb
│ │ │ ├── string_scalar.rb
│ │ │ ├── id_scalar.rb
│ │ │ └── time_scalar.rb
│ │ ├── object
│ │ │ ├── enum_value_object.rb
│ │ │ ├── directive_object.rb
│ │ │ ├── schema_object.rb
│ │ │ ├── input_value_object.rb
│ │ │ └── field_object.rb
│ │ └── enum
│ │ │ ├── directive_location_enum.rb
│ │ │ └── type_kind_enum.rb
│ │ ├── directive
│ │ ├── skip_directive.rb
│ │ ├── include_directive.rb
│ │ ├── specified_by_directive.rb
│ │ ├── cached_directive.rb
│ │ └── deprecated_directive.rb
│ │ ├── field
│ │ ├── scoped_config.rb
│ │ └── authorized_field.rb
│ │ ├── request
│ │ ├── strategy
│ │ │ ├── sequenced_strategy.rb
│ │ │ ├── multi_query_strategy.rb
│ │ │ ├── dynamic_instance.rb
│ │ │ └── cached_strategy.rb
│ │ ├── steps
│ │ │ ├── resolvable.rb
│ │ │ └── preparable.rb
│ │ ├── context.rb
│ │ ├── arguments.rb
│ │ └── errors.rb
│ │ ├── helpers.rb
│ │ ├── adapters
│ │ └── sqlite_adapter.rb
│ │ ├── collectors
│ │ └── idented_collector.rb
│ │ └── introspection.rb
└── generators
│ └── graphql
│ ├── templates
│ ├── schema.erb
│ ├── channel.erb
│ └── controller.erb
│ ├── schema_generator.rb
│ ├── channel_generator.rb
│ ├── controller_generator.rb
│ └── install_generator.rb
├── Gemfile
├── gemfiles
├── Gemfile.rails-7.0
├── Gemfile.rails-7.1
├── Gemfile.rails-7.2
└── Gemfile.rails-8.0
├── bin
└── console
├── tasks
└── libgraphqlparser.rb
├── .gitignore
├── README.rdoc
├── benchmarks
├── append.rb
├── star_wars.rb
└── star_wars
│ └── original_gem.rb
├── examples
├── schema_introspection.rb
└── definitions.rb
├── Rakefile
├── MIT-LICENSE
├── rails-graphql.gemspec
└── CHANGELOG.md
/.gitmodules:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/CNAME:
--------------------------------------------------------------------------------
1 | rails-graphql.dev
--------------------------------------------------------------------------------
/test/assets/introspection-db.json:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | *.lock linguist-generated
2 |
--------------------------------------------------------------------------------
/ext/.gitignore:
--------------------------------------------------------------------------------
1 | *.o
2 | Makefile
3 | mkmf.log
4 | extconf.h
5 |
--------------------------------------------------------------------------------
/ext/extconf.h:
--------------------------------------------------------------------------------
1 | #ifndef EXTCONF_H
2 | #define EXTCONF_H
3 | #endif
4 |
--------------------------------------------------------------------------------
/.codeclimate.yml:
--------------------------------------------------------------------------------
1 | version: '2'
2 | exclude_patterns:
3 | - 'test/'
4 |
--------------------------------------------------------------------------------
/lib/rails-graphql.rb:
--------------------------------------------------------------------------------
1 | require 'gql_parser'
2 | require 'rails/graphql'
3 |
--------------------------------------------------------------------------------
/docs/.gitignore:
--------------------------------------------------------------------------------
1 | _site
2 | .sass-cache
3 | .jekyll-metadata
4 | kitchen.md
5 |
--------------------------------------------------------------------------------
/lib/rails/graphql.rake:
--------------------------------------------------------------------------------
1 | # frozen_string_literal: true
2 |
3 | # version
4 | # cache
5 |
--------------------------------------------------------------------------------
/ext/extconf.rb:
--------------------------------------------------------------------------------
1 | require 'mkmf'
2 |
3 | create_header
4 | create_makefile 'gql_parser'
5 |
--------------------------------------------------------------------------------
/docs/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/favicon.ico
--------------------------------------------------------------------------------
/test/assets/luke.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/test/assets/luke.jpg
--------------------------------------------------------------------------------
/docs/_includes/hierarchy-sub.md:
--------------------------------------------------------------------------------
1 | `↳` represents inheritance and `+` represents composition
2 | {: .fs-1 }
3 |
--------------------------------------------------------------------------------
/docs/_sass/support/mixins/mixins.scss:
--------------------------------------------------------------------------------
1 | @import "./layout";
2 | @import "./buttons";
3 | @import "./typography";
4 |
--------------------------------------------------------------------------------
/docs/_sass/support/support.scss:
--------------------------------------------------------------------------------
1 | @import "./variables";
2 | @import "./functions";
3 | @import "./mixins/mixins";
4 |
--------------------------------------------------------------------------------
/docs/assets/images/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/images/logo.png
--------------------------------------------------------------------------------
/docs/assets/images/banner.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/images/banner.png
--------------------------------------------------------------------------------
/docs/assets/images/github.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/images/github.png
--------------------------------------------------------------------------------
/docs/assets/images/favicon-16x16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/images/favicon-16x16.png
--------------------------------------------------------------------------------
/docs/assets/images/favicon-32x32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/images/favicon-32x32.png
--------------------------------------------------------------------------------
/docs/assets/images/release-banner.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/images/release-banner.png
--------------------------------------------------------------------------------
/docs/assets/images/apple-touch-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/images/apple-touch-icon.png
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-Bk.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-Bk.woff
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-Md.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-Md.woff
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-Bk.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-Bk.woff2
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-BkCn.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-BkCn.woff
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-BkCn.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-BkCn.woff2
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-BkObl.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-BkObl.woff
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-Bold.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-Bold.woff
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-Bold.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-Bold.woff2
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-Demi.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-Demi.woff
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-Demi.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-Demi.woff2
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-Md.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-Md.woff2
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-MdCn.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-MdCn.woff
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-MdCn.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-MdCn.woff2
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-MdObl.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-MdObl.woff
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-XLt.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-XLt.woff
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-XLt.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-XLt.woff2
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-XLtCn.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-XLtCn.woff
--------------------------------------------------------------------------------
/docs/assets/images/android-chrome-192x192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/images/android-chrome-192x192.png
--------------------------------------------------------------------------------
/docs/assets/images/android-chrome-512x512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/images/android-chrome-512x512.png
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-BkCnObl.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-BkCnObl.woff
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-BkObl.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-BkObl.woff2
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-BoldCn.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-BoldCn.woff
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-BoldCn.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-BoldCn.woff2
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-BoldObl.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-BoldObl.woff
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-DemiCn.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-DemiCn.woff
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-DemiCn.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-DemiCn.woff2
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-DemiObl.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-DemiObl.woff
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-MdCnObl.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-MdCnObl.woff
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-MdObl.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-MdObl.woff2
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-XLtCn.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-XLtCn.woff2
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-XLtObl.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-XLtObl.woff
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-XLtObl.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-XLtObl.woff2
--------------------------------------------------------------------------------
/docs/_sass/utilities/utilities.scss:
--------------------------------------------------------------------------------
1 | @import "./colors";
2 | @import "./layout";
3 | @import "./typography";
4 | @import "./lists";
5 | @import "./spacing";
6 |
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-BkCnObl.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-BkCnObl.woff2
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-BoldCnObl.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-BoldCnObl.woff
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-BoldCnObl.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-BoldCnObl.woff2
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-BoldObl.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-BoldObl.woff2
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-DemiCnObl.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-DemiCnObl.woff
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-DemiCnObl.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-DemiCnObl.woff2
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-DemiObl.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-DemiObl.woff2
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-MdCnObl.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-MdCnObl.woff2
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-XLtCnObl.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-XLtCnObl.woff
--------------------------------------------------------------------------------
/docs/assets/fonts/ITCAvantGardeStd-XLtCnObl.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/virtualshield/rails-graphql/HEAD/docs/assets/fonts/ITCAvantGardeStd-XLtCnObl.woff2
--------------------------------------------------------------------------------
/docs/robots.txt:
--------------------------------------------------------------------------------
1 | ---
2 | layout: null
3 | sitemap: false
4 | ---
5 |
6 | User-agent: *
7 | Disallow:
8 |
9 | Sitemap: {{ 'sitemap.xml' | absolute_url }}
10 |
--------------------------------------------------------------------------------
/docs/_includes/table-of-contents.html:
--------------------------------------------------------------------------------
1 | Table of Contents
3 | {% include toc.html html=content h_min=2 sanitize=true %}
4 |
Page not found :(
24 |The requested page could not be found.
25 |Totally plug-in-play
6 | {% highlight bash %} 7 | # Add the gem to your Gemfile 8 | $ bundle add rails-graphql 9 | # Then run the Rails generator 10 | $ rails g graphql:install 11 | {% endhighlight %} 12 |Designed for simple and complex Schemas
16 | {% highlight ruby %} 17 | # app/graphql/app_schema.rb 18 | class GraphQL::AppSchema < GraphQL::Schema 19 | field(:welcome).resolve { 'Hello World!' } 20 | end 21 | {% endhighlight %} 22 |26 | Follows 27 | 28 | Rails core principles 29 | 30 |
31 | {% highlight bash %} 32 | $ curl -d '{"query":"{ welcome }"}' \ 33 | -H "Content-Type: application/json" \ 34 | -X POST http://localhost:3000/graphql 35 | # {"data":{"welcome":"Hello World!"}} 36 | {% endhighlight %} 37 |