Class: GraphQL::BaseType

Inherits:
Object
  • Object
show all
Defined in:
lib/graphql_includable.rb

Instance Method Summary collapse

Instance Method Details

#define_connection_with_fetched_edge(**kwargs, &block) ⇒ Object



39
40
41
42
43
44
45
# File 'lib/graphql_includable.rb', line 39

def define_connection_with_fetched_edge(**kwargs, &block)
  GraphQLIncludable::Relay::EdgeWithNodeConnectionType.create_type(
    self,
    **kwargs,
    &block
  )
end