Skip to content

Commit df218db

Browse files
committed
Fix typo
1 parent 5282c8b commit df218db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/graphql/query.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,8 @@ def warden
318318
# @param value [Object] Any runtime value
319319
# @return [GraphQL::ObjectType, nil] The runtime type of `value` from {Schema#resolve_type}
320320
# @see {#possible_types} to apply filtering from `only` / `except`
321-
def resolve_type(abstract_type, value = NOT_DEFINED)
322-
if value.is_a?(Symbol) && value == NOT_DEFINED
321+
def resolve_type(abstract_type, value = NOT_CONFIGURED)
322+
if value.is_a?(Symbol) && value == NOT_CONFIGURED
323323
# Old method signature
324324
value = abstract_type
325325
abstract_type = nil

0 commit comments

Comments
 (0)