Sha256: 59c6bcc2194af8195a2b7e3243826c72d2dae8f0307323a8c78be63fdd103d7e

Contents?: true

Size: 233 Bytes

Versions: 8

Compression:

Stored size: 233 Bytes

Contents

# frozen_string_literal: true
class GraphQL::Query::Context
  def cached_models
    @cached_models ||= Set.new
  end
end

class GraphQL::Query::Context::FieldResolutionContext
  def cached_models
    @context.cached_models
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
graphql-activerecord-0.12.6 lib/graphql/models/monkey_patches/graphql_query_context.rb
graphql-activerecord-0.12.5 lib/graphql/models/monkey_patches/graphql_query_context.rb
graphql-activerecord-0.12.4 lib/graphql/models/monkey_patches/graphql_query_context.rb
graphql-activerecord-0.12.3 lib/graphql/models/monkey_patches/graphql_query_context.rb
graphql-activerecord-0.12.2 lib/graphql/models/monkey_patches/graphql_query_context.rb
graphql-activerecord-0.12.1 lib/graphql/models/monkey_patches/graphql_query_context.rb
graphql-activerecord-0.12.0 lib/graphql/models/monkey_patches/graphql_query_context.rb
graphql-activerecord-0.11.0 lib/graphql/models/monkey_patches/graphql_query_context.rb