Module: GraphQL::Execution::Interpreter::Runtime::GraphQLResult Private
- Included in:
- GraphQLResultArray, GraphQLResultHash
- Defined in:
- lib/graphql/execution/interpreter/runtime.rb
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
-
#graphql_dead ⇒ Object
private
These methods are private concerns of GraphQL-Ruby, they aren’t guaranteed to continue working in the future.
-
#graphql_non_null_field_names ⇒ nil, Array<String>
private
Although these are used by only one of the Result classes, it’s handy to have the methods implemented on both (even though they just return
nil
) because it makes it easy to check if anything is assigned. -
#graphql_non_null_list_items ⇒ nil, true
private
-
#graphql_parent ⇒ Object
private
These methods are private concerns of GraphQL-Ruby, they aren’t guaranteed to continue working in the future.
-
#graphql_result_name ⇒ Object
private
These methods are private concerns of GraphQL-Ruby, they aren’t guaranteed to continue working in the future.
Instance Attribute Details
#graphql_dead ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
These methods are private concerns of GraphQL-Ruby, they aren’t guaranteed to continue working in the future.
15 16 17 |
# File 'lib/graphql/execution/interpreter/runtime.rb', line 15 def graphql_dead @graphql_dead end |
#graphql_non_null_field_names ⇒ nil, Array<String>
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Although these are used by only one of the Result classes,
it’s handy to have the methods implemented on both (even though they just return nil
)
because it makes it easy to check if anything is assigned.
20 21 22 |
# File 'lib/graphql/execution/interpreter/runtime.rb', line 20 def graphql_non_null_field_names @graphql_non_null_field_names end |
#graphql_non_null_list_items ⇒ nil, true
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
22 23 24 |
# File 'lib/graphql/execution/interpreter/runtime.rb', line 22 def graphql_non_null_list_items @graphql_non_null_list_items end |
#graphql_parent ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
These methods are private concerns of GraphQL-Ruby, they aren’t guaranteed to continue working in the future.
15 16 17 |
# File 'lib/graphql/execution/interpreter/runtime.rb', line 15 def graphql_parent @graphql_parent end |
#graphql_result_name ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
These methods are private concerns of GraphQL-Ruby, they aren’t guaranteed to continue working in the future.
15 16 17 |
# File 'lib/graphql/execution/interpreter/runtime.rb', line 15 def graphql_result_name @graphql_result_name end |