All Downloads are FREE. Search and download functionalities are using the official Maven repository.

graphql.kickstart.execution.config.GraphQLSchemaProvider Maven / Gradle / Ivy

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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy