Method: GraphQL::Schema::BuildFromDefinition::ResolveMap#coerce_input

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

#coerce_input(type, value, 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.



68
69
70
# File 'lib/graphql/schema/build_from_definition/resolve_map.rb', line 68

def coerce_input(type, value, ctx)
  @resolve_hash[type.graphql_name]["coerce_input"].call(value, ctx)
end