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

graphql.schema.idl.errors.OperationTypesMustBeObjects Maven / Gradle / Ivy

The newest version!
package graphql.schema.idl.errors;

import graphql.Internal;
import graphql.language.OperationTypeDefinition;

import static java.lang.String.format;

@Internal
public class OperationTypesMustBeObjects extends BaseError {

    public OperationTypesMustBeObjects(OperationTypeDefinition op) {
        super(op, format("The operation type '%s' MUST have a object type as its definition %s",
                op.getName(), lineCol(op)));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy