Exception: GraphQL::Execution::Skip Private
- Inherits:
-
RuntimeError
- Object
- StandardError
- GraphQL::Error
- RuntimeError
- GraphQL::Execution::Skip
- Defined in:
- lib/graphql/execution.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
- #path ⇒ Object private
Attributes included from Finalizer
Instance Method Summary collapse
- #ast_nodes=(_ignored) ⇒ Object private
- #finalize_graphql_result(query, result_data, key) ⇒ Object private
Methods included from Finalizer
Instance Attribute Details
#path ⇒ 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.
14 15 16 |
# File 'lib/graphql/execution.rb', line 14 def path @path end |
Instance Method Details
#ast_nodes=(_ignored) ⇒ 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.
15 |
# File 'lib/graphql/execution.rb', line 15 def ast_nodes=(_ignored); end |
#finalize_graphql_result(query, result_data, key) ⇒ 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.
17 18 19 20 21 22 23 24 25 26 |
# File 'lib/graphql/execution.rb', line 17 def finalize_graphql_result(query, result_data, key) case result_data when Hash result_data.delete(key) when Array result_data.delete_at(key) else raise "Unexpected result data #{result_data.class}: #{result_data}" end end |