Module: GraphQL::Coverage::Trace Private
- Defined in:
- lib/graphql/coverage/trace.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 Method Summary collapse
- #execute_field(field:, query:, ast_node:, arguments:, object:) ⇒ Object private
- #execute_field_lazy(field:, query:, ast_node:, arguments:, object:) ⇒ Object private
Instance Method Details
#execute_field(field:, query:, ast_node:, arguments:, object:) ⇒ 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.
7 8 9 10 11 12 |
# File 'lib/graphql/coverage/trace.rb', line 7 def execute_field(field:, query:, ast_node:, arguments:, object:) result = super # TODO: result type Store.current.append(Call.from_graphql_object(field: field, result_type: nil)) result end |
#execute_field_lazy(field:, query:, ast_node:, arguments:, object:) ⇒ 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 17 18 19 |
# File 'lib/graphql/coverage/trace.rb', line 14 def execute_field_lazy(field:, query:, ast_node:, arguments:, object:) result = super # TODO: result type Store.current.append(Call.from_graphql_object(field: field, result_type: nil)) result end |