Method: GraphQL::Schema::BuildFromDefinition::ResolveMap#call

Defined in:
lib/graphql/schema/build_from_definition/resolve_map.rb

#call(type, field, obj, args, ctx) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



63
64
65
66
# File 'lib/graphql/schema/build_from_definition/resolve_map.rb', line 63

def call(type, field, obj, args, ctx)
  resolver = @resolve_hash[type.graphql_name][field.graphql_name]
  resolver.call(obj, args, ctx)
end