Method: GraphQL::Query::Context#dig

Defined in:
lib/graphql/query/context.rb

#dig(key, *other_keys) ⇒ Object



211
212
213
# File 'lib/graphql/query/context.rb', line 211

def dig(key, *other_keys)
  @scoped_context.key?(key) ? @scoped_context.dig(key, *other_keys) : @provided_values.dig(key, *other_keys)
end