Skip to content

Add the ability to enforce directives on a schema #1004

@bbakerman

Description

@bbakerman

Directives can be declared to have arguments and defaults value and be bound to a certain location.

directive @length(max: Int = -1) on FIELD_DEFINITION | INPUT_FIELD_DEFINITION

The above directive should not be able to be put on a type Object say in strict mode.

We should have the ability to parse and enforce these.

I think it will need a "strict mode" (default off) since currently you can put on directives without them being enforced.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions