-
-
Notifications
You must be signed in to change notification settings - Fork 114
Closed
Description
Is your feature request related to a problem? Please describe.
When we want to break the schema down into many parts (for scalability), it's very inconvenient to have to maintain a list of schemas to process (either in the code or in a gradle/maven plugin).
Describe the solution you'd like
It would be nice to be able to specify a directory so that graphql-java-codegen processes all the schema files inside.
A couple of useful related options to consider:
recursive: whether directories should be explored recursively to find schemasschemaFilePattern: a pattern (Java style) to match the schema files to process (would most likely default to.*\.graphqls)excludeFiles: a list of schema files to exclude
Describe alternatives you've considered
The alternatives so far are:
- to list all files manually (most likely in the maven plugin)
- to write custom code (maybe as another plugin/task) to build the list of files
kobylynskyi
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request