-
- Downloads
Replace echo function with a resolver
The `GraphQL::Function` has been deprecated in favor of resolvers.
Showing
- Gemfile 1 addition, 1 deletionGemfile
- Gemfile.lock 2 additions, 2 deletionsGemfile.lock
- app/graphql/functions/base_function.rb 0 additions, 6 deletionsapp/graphql/functions/base_function.rb
- app/graphql/functions/echo.rb 0 additions, 15 deletionsapp/graphql/functions/echo.rb
- app/graphql/resolvers/echo_resolver.rb 14 additions, 0 deletionsapp/graphql/resolvers/echo_resolver.rb
- app/graphql/types/query_type.rb 1 addition, 1 deletionapp/graphql/types/query_type.rb
- lib/gitlab/graphql/present/instrumentation.rb 3 additions, 1 deletionlib/gitlab/graphql/present/instrumentation.rb
- spec/graphql/resolvers/echo_resolver_spec.rb 24 additions, 0 deletionsspec/graphql/resolvers/echo_resolver_spec.rb
- spec/lib/gitlab/graphql/authorize/authorize_field_service_spec.rb 4 additions, 1 deletion.../gitlab/graphql/authorize/authorize_field_service_spec.rb
- spec/lib/gitlab/graphql/markdown_field_spec.rb 5 additions, 2 deletionsspec/lib/gitlab/graphql/markdown_field_spec.rb
- spec/requests/api/graphql/multiplexed_queries_spec.rb 4 additions, 4 deletionsspec/requests/api/graphql/multiplexed_queries_spec.rb
Loading
| Loading
| @@ -83,7 +83,7 @@ gem 'grape-entity', '~> 0.7.1' |
gem 'rack-cors', '~> 1.0.0', require: 'rack/cors' | ||
# GraphQL API | ||
gem 'graphql', '~> 1.8.0' | ||
gem 'graphql', '= 1.8.4' | ||
gem 'graphiql-rails', '~> 1.4.10' | ||
gem 'apollo_upload_server', '~> 2.0.0.beta3' | ||
gem 'graphql-docs', '~> 1.6.0', group: [:development, :test] | ||
Loading
| Loading
|
app/graphql/functions/echo.rb
deleted
100644 → 0
app/graphql/resolvers/echo_resolver.rb
0 → 100644
spec/graphql/resolvers/echo_resolver_spec.rb
0 → 100644
Please register or sign in to comment