class GraphQL::Query::NullContext

This object can be ‘ctx` in places where there is no query

def initialize

def initialize
  @query = nil
  @schema = GraphQL::Schema.new
  @warden = GraphQL::Schema::Warden.new(
    GraphQL::Schema::NullMask,
    context: self,
    schema: @schema,
  )
end

def instance

def instance
  @instance = self.new
end