Only include target file extensions during codegen #986
Unanswered
CuiZhicheng
asked this question in
Q&A
Replies: 1 comment
-
|
Good idea, will look into it. |
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.
-
hi team, can we add a new option as a file extension filter during codegen?
In our use case, we may add some other files in our schema folder, like reviewer files for github. Currently dgs-codegen just go through all files in the folder, and will fail to parse the content in the reviewer files.
can we add an option to set target file extensions? so that we can filter other files during codegen like this:
https://github.com/Netflix/dgs-codegen/blob/master/graphql-dgs-codegen-core/src/main/kotlin/com/netflix/graphql/dgs/codegen/CodeGen.kt#L96-L98
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions