Skip to content

Incorrect error messages when schema contains custom directives #262

Description

@idosela

Since GraphQL schema allows custom directives, it shouldn't display an error when a query contains a reference to a custom directive that's defined on the schema.

See:

if (badDirectives.length) {
console.error('Found some unknown directives:');
badDirectives.forEach(d => console.error(d.name.value));
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions