Method: GraphQL::BaseType#resolve_type
- Defined in:
- lib/graphql/base_type.rb
#resolve_type(value, ctx) ⇒ Object
Find out which possible type to use for value
.
Returns self if there are no possible types (ie, not Union or Interface)
89 90 91 |
# File 'lib/graphql/base_type.rb', line 89 def resolve_type(value, ctx) self end |