Method: GraphQL::BaseType#connection_type

Defined in:
lib/graphql/base_type.rb

#connection_typeGraphQL::ObjectType

Returns The default connection type for this object type.

Returns:

  • The default connection type for this object type



178
179
180
# File 'lib/graphql/base_type.rb', line 178

def connection_type
  @connection_type ||= define_connection
end