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

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

There is a newer version: 230521-nf-execution
Show newest version
package graphql.schema.idl.errors;

import graphql.Internal;
import graphql.language.NamedNode;

@Internal
public class IllegalNameError extends BaseError {
    public IllegalNameError(NamedNode directiveDefinition) {
        super(directiveDefinition,
                String.format("'%s''%s' must not begin with '__', which is reserved by GraphQL introspection.",
                        directiveDefinition.getName(), lineCol(directiveDefinition)
                ));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy