graphql-code-generator icon indicating copy to clipboard operation
graphql-code-generator copied to clipboard

Multiple config files

Open lucalas opened this issue 3 years ago • 0 comments

In case I have a big project with a lot of definitions in different folders I'd like to have a config file (codegen.yaml) for each of these folders.

Now we can do:

graphql-codegen --config codegen.yaml

It would be great to have:

graphql-codegen --config src/modules/module1/codegen.yaml,src/modules/module2/codegen.yaml

or:

graphql-codegen --config src/modules/**/codegen.yaml

What do you think?

lucalas avatar Mar 03 '22 13:03 lucalas