Class: GraphQL::BaseType
- Inherits:
-
Object
- Object
- GraphQL::BaseType
- Defined in:
- lib/graphql/relay/monkey_patches/base_type.rb
Instance Method Summary collapse
Instance Method Details
#connection_type ⇒ Object
2 3 4 |
# File 'lib/graphql/relay/monkey_patches/base_type.rb', line 2 def connection_type @connection_type ||= GraphQL::Relay::BaseConnection.create_type(self) end |
#edge_type ⇒ Object
6 7 8 |
# File 'lib/graphql/relay/monkey_patches/base_type.rb', line 6 def edge_type @edge_type ||= GraphQL::Relay::Edge.create_type(self) end |