Method: GraphQL::Schema.from_introspection

Defined in:
lib/graphql/schema.rb

.from_introspection(introspection_result) ⇒ GraphQL::Schema

Create schema with the result of an introspection query.

Parameters:

Returns:



504
505
506
# File 'lib/graphql/schema.rb', line 504

def self.from_introspection(introspection_result)
  GraphQL::Schema::Loader.load(introspection_result)
end