Commit 82beb4f4 authored by Jason Goodman's avatar Jason Goodman

Specify full namespace to Instrumentation in Graphql style example

parent cd2a9394
......@@ -798,11 +798,15 @@ that wraps around a query being executed. It is implemented as a module that use
Example: `Present`
```ruby
module Present
module Gitlab
module Graphql
module Present
#... some code above...
def self.use(schema_definition)
schema_definition.instrument(:field, Instrumentation.new)
schema_definition.instrument(:field, ::Gitlab::Graphql::Present::Instrumentation.new)
end
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