Class: GraphQL::Analyzer::Instrumentation::Base
- Inherits:
-
Object
- Object
- GraphQL::Analyzer::Instrumentation::Base
show all
- Defined in:
- lib/graphql/analyzer/instrumentation/base.rb
Instance Method Summary
collapse
Instance Method Details
#instrument(type, field) ⇒ Object
5
6
7
|
# File 'lib/graphql/analyzer/instrumentation/base.rb', line 5
def instrument(type, field)
resolve_proc(type, field, :resolve_proc)
end
|
#instrument_lazy(type, field) ⇒ Object
9
10
11
|
# File 'lib/graphql/analyzer/instrumentation/base.rb', line 9
def instrument_lazy(type, field)
resolve_proc(type, field, :lazy_resolve_proc)
end
|