How to prefix all generated Types #7783
Unanswered
danielvlla
asked this question in
Q&A
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I am currently prefixing all types (necessary to avoid duplicates) manually (see example below).
The schema is auto generated using
AddGraphQLServer.AddTypes();
Is there a way to make do without the
GraphQLName()
and just have an autoprefixer that adds a prefix to each Type please?Would be cool to extend this to queries and mutations, but these would require different formatting.
I am using HotChocolate v14.
Beta Was this translation helpful? Give feedback.
All reactions