Skip to content

EPIC: Directive support #760

@vektah

Description

@vektah

Here to track the status of directives

⚠️ these features are subject to change - if you are using any of these features make sure you have tests on your directives that actually run queries against a graph. ⚠️

Execution directives

location implemented obj is
QUERY ✔️ #744 *ast.OperationDefinition
MUTATION ✔️ #744 *ast.OperationDefinition
SUBSCRIPTION ✔️ #744 *ast.OperationDefinition
FIELD ✔️ #756 parent type
FRAGMENT_DEFINITION
FRAGMENT_SPREAD
INLINE_FRAGMENT

Schema directives

location implemented obj is
SCHEMA
SCALAR
OBJECT ✔️ #1117 parent type
FIELD_DEFINITION ✔️ parent type
ARGUMENT_DEFINITION ✔️ #460 argument bag
INTERFACE
UNION
ENUM
ENUM_VALUE
INPUT_OBJECT
INPUT_FIELD_DEFINITION ✔️ parent input

Schema field directives on subscriptions

obj is always nil for any root (Query, Mutation, Subscription)
next() returns a channel of the field type

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions