Class: GraphQLIncludable::Relay::ConnectionEdgesAndNodes
- Inherits:
-
Object
- Object
- GraphQLIncludable::Relay::ConnectionEdgesAndNodes
- Defined in:
- lib/graphql_includable/relay/edge_with_node_connection.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#ctx ⇒ Object
readonly
Returns the value of attribute ctx.
-
#edge_to_node_property ⇒ Object
readonly
Returns the value of attribute edge_to_node_property.
-
#edges_property ⇒ Object
readonly
Returns the value of attribute edges_property.
-
#edges_resolver ⇒ Object
readonly
Returns the value of attribute edges_resolver.
-
#nodes_property ⇒ Object
readonly
Returns the value of attribute nodes_property.
-
#nodes_resolver ⇒ Object
readonly
Returns the value of attribute nodes_resolver.
-
#parent ⇒ Object
readonly
Returns the value of attribute parent.
Instance Method Summary collapse
-
#initialize(parent, args, ctx, edges_property, nodes_property, edge_to_node_property, edges_resolver, nodes_resolver) ⇒ ConnectionEdgesAndNodes
constructor
rubocop:disable Metrics/ParameterLists.
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
#args ⇒ Object (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 |
#ctx ⇒ Object (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_property ⇒ Object (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_property ⇒ Object (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_resolver ⇒ Object (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_property ⇒ Object (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_resolver ⇒ Object (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 |
#parent ⇒ Object (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 |