class GraphQL::Introspection::BaseObject

Public Class Methods

field(*args, **kwargs, &block) click to toggle source
Calls superclass method
# File lib/graphql/introspection/base_object.rb, line 4
def self.field(*args, **kwargs, &block)
  kwargs[:introspection] = true
  super(*args, **kwargs, &block)
end
inherited(child_class) click to toggle source
Calls superclass method
# File lib/graphql/introspection/base_object.rb, line 9
def self.inherited(child_class)
  child_class.introspection(true)
  super
end