Add a minimal GraphQL API
Showing
... | @@ -93,6 +93,12 @@ gem 'grape', '~> 1.0' | ... | @@ -93,6 +93,12 @@ gem 'grape', '~> 1.0' |
gem 'grape-entity', '~> 0.7.1' | gem 'grape-entity', '~> 0.7.1' | ||
gem 'rack-cors', '~> 1.0.0', require: 'rack/cors' | gem 'rack-cors', '~> 1.0.0', require: 'rack/cors' | ||
# GraphQL API | |||
gem 'graphql', '~> 1.7.14' | |||
gem 'graphql-batch', '~> 0.3.9' | |||
gem 'graphql-preload', '~> 2.0.0' | |||
gem 'graphiql-rails', '~> 1.4.10' | |||
# Disable strong_params so that Mash does not respond to :permitted? | # Disable strong_params so that Mash does not respond to :permitted? | ||
gem 'hashie-forbidden_attributes' | gem 'hashie-forbidden_attributes' | ||
... | ... |
app/graphql/gitlab_schema.rb
0 → 100644
app/graphql/mutations/.keep
0 → 100644
Please register or sign in to comment