graphql-tools
graphql-tools copied to clipboard
Deprecated enum values are not handled
Describe the bug
Schema:
enum Color {
Red @deprecated(reason: "Blue is better")
Blue
}
Whenever my graphql code gen gives me GraphQLSchema object (I think from the File/UrlLoader) the enum value is missing the deprecated directive.
To Reproduce Steps to reproduce the behavior:
Expected behavior
Environment:
- OS:
@graphql-tools/...: @graphql-tools/utils@npm:8.6.3- NodeJS:
Additional context