Module: GraphitiGraphQL

Defined in:
lib/graphiti_graphql.rb,
lib/graphiti_graphql/util.rb,
lib/graphiti_graphql/engine.rb,
lib/graphiti_graphql/errors.rb,
lib/graphiti_graphql/runner.rb,
lib/graphiti_graphql/schema.rb,
lib/graphiti_graphql/version.rb,
lib/graphiti_graphql/federation.rb,
lib/graphiti_graphql/federation/resource_dsl.rb,
lib/graphiti_graphql/graphiti_schema/wrapper.rb,
lib/graphiti_graphql/graphiti_schema/resource.rb,
lib/graphiti_graphql/graphiti_schema/sideload.rb,
lib/graphiti_graphql/federation/loaders/has_many.rb,
lib/graphiti_graphql/federation/schema_decorator.rb,
lib/graphiti_graphql/federation/federated_resource.rb,
lib/graphiti_graphql/federation/loaders/belongs_to.rb,
lib/graphiti_graphql/federation/federated_relationship.rb,
lib/graphiti_graphql/federation/apollo_federation_override.rb

Defined Under Namespace

Modules: Errors, Federation, GraphitiSchema, Runnable Classes: Configuration, Engine, Runner, Schema, SchemaProxy, Util

Constant Summary collapse

VERSION =
"0.1.17"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.schema_classObject

Returns the value of attribute schema_class.



73
74
75
# File 'lib/graphiti_graphql.rb', line 73

def schema_class
  @schema_class
end

Class Method Details

.configObject



76
77
78
# File 'lib/graphiti_graphql.rb', line 76

def self.config
  @config ||= Configuration.new
end

.configure {|config| ... } ⇒ Object

Yields:



80
81
82
# File 'lib/graphiti_graphql.rb', line 80

def self.configure
  yield config
end

.schemasObject



84
85
86
# File 'lib/graphiti_graphql.rb', line 84

def self.schemas
  @schemas ||= SchemaProxy.new
end