Method: GraphQL::Schema::BuildFromDefinition::ResolveMap#coerce_result
- Defined in:
- lib/graphql/schema/build_from_definition/resolve_map.rb
#coerce_result(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.
72 73 74 |
# File 'lib/graphql/schema/build_from_definition/resolve_map.rb', line 72 def coerce_result(type, value, ctx) @resolve_hash[type.graphql_name]["coerce_result"].call(value, ctx) end |