class GraphQL::Schema::TimeoutMiddleware::TimeoutQueryProxy

This behaves like {GraphQL::Query} but {#context} returns the field-level context, not the query-level context. This means you can reliably get the `irep_node` and `path` from it after the fact.

Attributes

context[R]

Public Class Methods

new(query, ctx) click to toggle source
Calls superclass method
# File lib/graphql/schema/timeout_middleware.rb, line 63
def initialize(query, ctx)
  @context = ctx
  super(query)
end