Method: GraphQL::Tracing::PlatformTrace::BaseKeyCache#initialize

Defined in:
lib/graphql/tracing/platform_trace.rb

#initializeObject



14
15
16
17
18
# File 'lib/graphql/tracing/platform_trace.rb', line 14

def initialize
  @platform_field_key_cache = Hash.new { |h, k| h[k] = platform_field_key(k) }
  @platform_authorized_key_cache = Hash.new { |h, k| h[k] = platform_authorized_key(k) }
  @platform_resolve_type_key_cache = Hash.new { |h, k| h[k] = platform_resolve_type_key(k) }
end