Module: Gitlab::Graphql::Present

Extended by:
ActiveSupport::Concern
Defined in:
lib/gitlab/graphql/present.rb,
lib/gitlab/graphql/present/instrumentation.rb

Defined Under Namespace

Classes: Instrumentation

Class Method Summary collapse

Class Method Details

.use(schema_definition) ⇒ Object


17
18
19
# File 'lib/gitlab/graphql/present.rb', line 17

def self.use(schema_definition)
  schema_definition.instrument(:field, ::Gitlab::Graphql::Present::Instrumentation.new)
end