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
3 files
+ 109
26
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -10,8 +10,6 @@ class LoggerAnalyzer < GraphQL::Analysis::AST::Analyzer
FIELD_USAGE_ANALYZER = GraphQL::Analysis::AST::FieldUsage
ALL_ANALYZERS = [COMPLEXITY_ANALYZER, DEPTH_ANALYZER, FIELD_USAGE_ANALYZER].freeze
attr_reader :results
def initialize(query)
super
@@ -48,6 +46,8 @@ def result
private
attr_reader :results
def process_variables(variables)
filtered_variables = filter_sensitive_variables(variables)
filtered_variables.try(:to_s) || filtered_variables
Loading