diff options
Diffstat (limited to 'spec/support/graphql/field_inspection.rb')
-rw-r--r-- | spec/support/graphql/field_inspection.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/graphql/field_inspection.rb b/spec/support/graphql/field_inspection.rb index e5fe37ec555..8730f82b893 100644 --- a/spec/support/graphql/field_inspection.rb +++ b/spec/support/graphql/field_inspection.rb @@ -20,7 +20,7 @@ module Graphql def type @type ||= begin - field_type = @field.type.respond_to?(:to_graphql) ? @field.type.to_graphql : @field.type + field_type = @field.type # The type could be nested. For example `[GraphQL::Types::String]`: # - List |