public class SchemaProcessor extends Object
| Constructor and Description |
|---|
SchemaProcessor(Persistence persistence,
boolean isPersisted) |
| Modifier and Type | Method and Description |
|---|---|
ProcessedSchema |
process(String source,
Keyspace keyspace)
Processes the GraphQL source provided by the user to produce a complete working schema:
parse the source;
add any missing elements: generated types, built-in directives, etc.
|
public SchemaProcessor(Persistence persistence, boolean isPersisted)
isPersisted - whether we are processing a schema already stored in the database, or a
schema that a user is attempting to deploy. This is just used to customize a couple ofpublic ProcessedSchema process(String source, Keyspace keyspace)
graphql.GraphqlErrorException - if any error was encountered during processingCopyright © 2023. All rights reserved.