Package graphql.introspection
Class IntrospectionResultToSchema
java.lang.Object
graphql.introspection.IntrospectionResultToSchema
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSchemaDefinition
(ExecutionResult introspectionResult) Returns a IDL Document that represents the schema as defined by the introspection execution resultcreateSchemaDefinition
(Map<String, Object> introspectionResult) Returns a IDL Document that represents the schema as defined by the introspection result map
-
Constructor Details
-
IntrospectionResultToSchema
public IntrospectionResultToSchema()
-
-
Method Details
-
createSchemaDefinition
Returns a IDL Document that represents the schema as defined by the introspection execution result- Parameters:
introspectionResult
- the result of an introspection query on a schema- Returns:
- a IDL Document of the schema
-
createSchemaDefinition
Returns a IDL Document that represents the schema as defined by the introspection result map- Parameters:
introspectionResult
- the result of an introspection query on a schema- Returns:
- a IDL Document of the schema
-