Class: GraphQLIncludable::Relay::ConnectionEdgesAndNodes

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(parent, args, ctx, edges_property, nodes_property, edge_to_node_property, edges_resolver, nodes_resolver) ⇒ ConnectionEdgesAndNodes

rubocop:disable Metrics/ParameterLists



8
9
10
11
12
13
14
15
16
17
18
19
# File 'lib/graphql_includable/relay/edge_with_node_connection.rb', line 8

def initialize(parent, args, ctx,
               edges_property, nodes_property, edge_to_node_property,
               edges_resolver, nodes_resolver)
  @parent = parent
  @args = args
  @ctx = ctx
  @edges_property = edges_property # optional
  @nodes_property = nodes_property # optional
  @edge_to_node_property = edge_to_node_property
  @edges_resolver = edges_resolver
  @nodes_resolver = nodes_resolver
end

Instance Attribute Details

#argsObject (readonly)

Returns the value of attribute args.



4
5
6
# File 'lib/graphql_includable/relay/edge_with_node_connection.rb', line 4

def args
  @args
end

#ctxObject (readonly)

Returns the value of attribute ctx.



4
5
6
# File 'lib/graphql_includable/relay/edge_with_node_connection.rb', line 4

def ctx
  @ctx
end

#edge_to_node_propertyObject (readonly)

Returns the value of attribute edge_to_node_property.



4
5
6
# File 'lib/graphql_includable/relay/edge_with_node_connection.rb', line 4

def edge_to_node_property
  @edge_to_node_property
end

#edges_propertyObject (readonly)

Returns the value of attribute edges_property.



4
5
6
# File 'lib/graphql_includable/relay/edge_with_node_connection.rb', line 4

def edges_property
  @edges_property
end

#edges_resolverObject (readonly)

Returns the value of attribute edges_resolver.



5
6
7
# File 'lib/graphql_includable/relay/edge_with_node_connection.rb', line 5

def edges_resolver
  @edges_resolver
end

#nodes_propertyObject (readonly)

Returns the value of attribute nodes_property.



4
5
6
# File 'lib/graphql_includable/relay/edge_with_node_connection.rb', line 4

def nodes_property
  @nodes_property
end

#nodes_resolverObject (readonly)

Returns the value of attribute nodes_resolver.



5
6
7
# File 'lib/graphql_includable/relay/edge_with_node_connection.rb', line 5

def nodes_resolver
  @nodes_resolver
end

#parentObject (readonly)

Returns the value of attribute parent.



4
5
6
# File 'lib/graphql_includable/relay/edge_with_node_connection.rb', line 4

def parent
  @parent
end