Class: GraphQL::BaseType
- Inherits:
-
Object
- Object
- GraphQL::BaseType
- Defined in:
- lib/graphql_includable.rb
Instance Method Summary collapse
- #define_connection_with_fetched_edge(**kwargs, &block) ⇒ Object
- #define_includable_connection(**kwargs, &block) ⇒ Object
Instance Method Details
#define_connection_with_fetched_edge(**kwargs, &block) ⇒ Object
30 31 32 33 34 35 36 |
# File 'lib/graphql_includable.rb', line 30 def define_connection_with_fetched_edge(**kwargs, &block) GraphQLIncludable::Relay::EdgeWithNodeConnectionType.create_type( self, **kwargs, &block ) end |
#define_includable_connection(**kwargs, &block) ⇒ Object
21 22 23 24 25 26 27 28 |
# File 'lib/graphql_includable.rb', line 21 def define_includable_connection(**kwargs, &block) warn '[DEPRECATION] `define_includable_connection` is deprecated. Use `define_connection_with_fetched_edge`.' define_connection( edge_class: GraphQLIncludable::Edge, **kwargs, &block ) end |