Sha256: 5651bee63e071035eb664565e7ed8ba122a5dbacc6f453162b4ab6e9b4dcd125

Contents?: true

Size: 211 Bytes

Versions: 6

Compression:

Stored size: 211 Bytes

Contents

class GraphQL::BaseType
  def connection_type
    @connection_type ||= GraphQL::Relay::BaseConnection.create_type(self)
  end

  def edge_type
    @edge_type ||= GraphQL::Relay::Edge.create_type(self)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
graphql-relay-0.5.0 lib/graphql/relay/monkey_patches/base_type.rb
graphql-relay-0.4.5 lib/graphql/relay/monkey_patches/base_type.rb
graphql-relay-0.4.4 lib/graphql/relay/monkey_patches/base_type.rb
graphql-relay-0.4.3 lib/graphql/relay/monkey_patches/base_type.rb
graphql-relay-0.4.2 lib/graphql/relay/monkey_patches/base_type.rb
graphql-relay-0.4.1 lib/graphql/relay/monkey_patches/base_type.rb