graphql.kickstart.execution.config.GraphQLSchemaProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of graphql-java-kickstart-javax Show documentation
Show all versions of graphql-java-kickstart-javax Show documentation
relay.js-compatible GraphQL servlet
The newest version!
package graphql.kickstart.execution.config;
import graphql.schema.GraphQLObjectType;
import graphql.schema.GraphQLSchema;
public interface GraphQLSchemaProvider {
static GraphQLSchema copyReadOnly(GraphQLSchema schema) {
return GraphQLSchema.newSchema(schema).mutation((GraphQLObjectType) null).build();
}
/** @return a schema for handling mbean calls. */
GraphQLSchema getSchema();
GraphQLSchema getReadOnlySchema();
}