Method: GraphQL::Types::Relay::ConnectionBehaviors::ClassMethods#inherited

Defined in:
lib/graphql/types/relay/connection_behaviors.rb

#inherited(child_class) ⇒ Object



26
27
28
29
30
31
32
33
34
35
36
# File 'lib/graphql/types/relay/connection_behaviors.rb', line 26

def inherited(child_class)
  super
  child_class.has_nodes_field(has_nodes_field)
  child_class.node_nullable(node_nullable)
  child_class.edges_nullable(edges_nullable)
  child_class.edge_nullable(edge_nullable)
  child_class.edge_type = nil
  child_class.node_type = nil
  child_class.edge_class = nil
  child_class.default_broadcastable(default_broadcastable?)
end