Skip to content
Snippets Groups Projects

[graphql] Convert to using the new query interpreter runtime

Merged Brett Walker requested to merge bw-graphql-interpreter into master
8 files
+ 3
212
Compare changes
  • Side-by-side
  • Inline
Files
8
@@ -26,8 +26,6 @@ class GitlabSchema < GraphQL::Schema
use Gitlab::Graphql::Pagination::Connections
use Gitlab::Graphql::Timeout, max_seconds: Gitlab.config.gitlab.graphql_timeout
# query_analyzer Gitlab::Graphql::QueryAnalyzers::LoggerAnalyzer.new
# query_analyzer Gitlab::Graphql::QueryAnalyzers::RecursionAnalyzer.new
query_analyzer Gitlab::Graphql::QueryAnalyzers::AST::LoggerAnalyzer
query_analyzer Gitlab::Graphql::QueryAnalyzers::AST::RecursionAnalyzer
@@ -174,14 +172,3 @@ def get_type(type_name)
end
GitlabSchema.prepend_mod_with('GitlabSchema') # rubocop: disable Cop/InjectEnterpriseEditionModule
# Force the schema to load as a workaround for intermittent errors we
# see due to a lack of thread safety.
#
# TODO: We can remove this workaround when we convert the schema to use
# the new query interpreter runtime.
#
# See:
# - https://gitlab.com/gitlab-org/gitlab/-/issues/211478
# - https://gitlab.com/gitlab-org/gitlab/-/issues/210556
# GitlabSchema.graphql_definition
Loading