lib/rails/graphql/field/typed_field.rb
# Little helper that shows the type of the field
Little helper that shows the type of the field
Little helper that shows the type of the field
def inspect_type
          result = ': '
          result += '[' if array?
          result += type_klass.gql_name
          result += '!' if array? && !nullable?
          result += ']' if array?
          result += '!' unless null?
          result
        end
def inspect_type result = ': ' result += '[' if array? result += type_klass . gql_name result += '!' if array? && ! nullable? result += ']' if array? result += '!' unless null? result end
Little helper that shows the type of the field
Little helper that shows the type of the field