Skip to content

Validation options for schemaDirectives #920

Closed
@reconbot

Description

@reconbot

I've noticed when you use schema directives that don't exist (eg, a typo) no error is thrown and it's silently ignored. That's not fun to debug and makes using directives harder to use. I propose we have a validation option that ensures a schemaDirectives key exists for every defined directive and that we don't use unknown directives.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew addition or enhancement to existing solutions

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions