Module: GraphQL::Query::LiteralInput::LiteralKindCoercers::EnumLiteral

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

Class Method Summary collapse

Class Method Details

.coerce(value, type, variables) ⇒ Object


79
80
81
# File 'lib/graphql/query/literal_input.rb', line 79

def self.coerce(value, type, variables)
  type.coerce_input(value.name)
end