graphql / graphql/graphql-spec

Question about ENUM_VALUE directive location

Open
#924 3 comments 0 reactions 0 assignees View on GitHub
🤷‍♀️ Ambiguity
Dominant language
JavaScript
Stars
14.6k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Do I understand correctly that `ENUM_VALUE` location (TypeSystemDirectiveLocation) works for [EnumValue](http://spec.graphql.org/October2021/#EnumValue) term and may be applied to both examples?

```graphql
enum Color {
GREEN @myDirective
RED
}
```

```graphql
input Data {
color: Color = RED @myDirective
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.