Sha256: 71c0d0c250b2bb347b40663a38c406a0be96bab8357c4bd78e0adf731d45522c
Contents?: true
Size: 355 Bytes
Versions: 8
Compression:
Stored size: 355 Bytes
Contents
# frozen_string_literal: true module GraphQL module Introspection class BaseObject < GraphQL::Schema::Object def self.field(*args, **kwargs, &block) kwargs[:introspection] = true super(*args, **kwargs, &block) end def self.inherited(child_class) child_class.introspection(true) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems