We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82a8164 commit a4b60e1Copy full SHA for a4b60e1
lib/graphql/fragment_cache.rb
@@ -33,12 +33,11 @@ class << self
33
def use(schema_defn, options = {})
34
verify_interpreter_and_analysis!(schema_defn)
35
36
- schema_defn.tracer(Schema::Tracer)
37
-
38
if GraphRubyVersion.after_2_2_5?
39
schema_defn.trace_with(GraphQL::Tracing::LegacyHooksTrace)
40
schema_defn.instance_exec { own_instrumenters[:query] << Schema::Instrumentation }
41
else
+ schema_defn.tracer(Schema::Tracer)
42
schema_defn.instrument(:query, Schema::Instrumentation)
43
end
44
0 commit comments