Upgrade GraphQL gem to 1.8.17
- Due to https://github.com/exAspArk/batch-loader/pull/32, we changed BatchLoader.for into BatchLoader::GraphQL.for - since our results are wrapped in a BatchLoader::GraphQL, calling `sync` during authorization is required to get real object - `graphql` now has it's own authorization system. Our `authorized?` method conflicted and required renaming
Showing
... | @@ -83,7 +83,7 @@ gem 'grape-entity', '~> 0.7.1' | ... | @@ -83,7 +83,7 @@ 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 | # GraphQL API | ||
gem 'graphql', '= 1.8.4' | gem 'graphql', '= 1.8.17' | ||
gem 'graphiql-rails', '~> 1.4.10' | gem 'graphiql-rails', '~> 1.4.10' | ||
gem 'apollo_upload_server', '~> 2.0.0.beta3' | gem 'apollo_upload_server', '~> 2.0.0.beta3' | ||
gem 'graphql-docs', '~> 1.6.0', group: [:development, :test] | gem 'graphql-docs', '~> 1.6.0', group: [:development, :test] | ||
... | ... |
Please register or sign in to comment