Module: GraphQL::DefinitionHelpers::DefinedByConfig

Included in:
Argument, BaseType, GraphQL::Directive, Field
Defined in:
lib/graphql/definition_helpers/defined_by_config.rb

Overview

Provide a two-step definition process.

  1. Use a config object to gather definitions

  2. Transfer definitions to an actual instance of an object

Defined Under Namespace

Modules: ClassMethods Classes: DefinitionConfig

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



7
8
9
# File 'lib/graphql/definition_helpers/defined_by_config.rb', line 7

def self.included(base)
  base.extend(ClassMethods)
end