Method: GraphQL::Backtrace::Frame#initialize
- Defined in:
- lib/graphql/backtrace.rb
permalink #initialize(path:, query:, ast_node:, object:, field:, arguments:, parent_frame:) ⇒ Frame
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.
Returns a new instance of Frame.
48 49 50 51 52 53 54 55 56 |
# File 'lib/graphql/backtrace.rb', line 48 def initialize(path:, query:, ast_node:, object:, field:, arguments:, parent_frame:) @path = path @query = query @ast_node = ast_node @field = field @object = object @arguments = arguments @parent_frame = parent_frame end |