Skip to content

Multiple config files #7604

@lucalas

Description

@lucalas

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    coreRelated to codegen core/clikind/enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions