Replies: 1 comment
-
It's not supported yet. Directives are a hack in schema builder, so not implemented for all cases. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to emit my schema like this
enum SomeEnum @tag(name: "internal")
For object and input types I can add
@Directive('@tag(name: "internal")')
and use instructions from https://typegraphql.com/docs/emit-schema.html to print the schema, but for enums I can't use the directive decorator since enums are not a class.Any ideas/suggestions on how to do this?
Beta Was this translation helpful? Give feedback.
All reactions