Class: GraphQL::FragmentCache::Schema::Tracer
- Inherits:
-
Object
- Object
- GraphQL::FragmentCache::Schema::Tracer
- Defined in:
- lib/graphql/fragment_cache/schema/tracer.rb
Class Method Summary collapse
Class Method Details
.trace(key, data) ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/graphql/fragment_cache/schema/tracer.rb', line 11 def trace(key, data) yield.tap do |resolved_value| next unless connection_field?(key, data) verify_connections!(data[:query].context) end end |