Commit 83444b9a authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Use full namespace when loading Instrumentation

There's a problem with the classic autoloader which makes
it resolve to the wrong Instrumentation class
parent e9065340
......@@ -15,7 +15,7 @@ module Gitlab
end
def self.use(schema_definition)
schema_definition.instrument(:field, Instrumentation.new)
schema_definition.instrument(:field, ::Gitlab::Graphql::Present::Instrumentation.new)
end
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment