Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File naming #197

Open
alecrobertson1 opened this issue Nov 6, 2023 · 2 comments
Open

File naming #197

alecrobertson1 opened this issue Nov 6, 2023 · 2 comments

Comments

@alecrobertson1
Copy link

Is it at all possible to add a configuration to customise the output file names without impacting the generated types, etc. themselves? I'd like to be able to make the file names for the resolvers be in kebab-case, so for example:

Instead of resolvers/MyType.ts, resolvers/my-type.ts.
Instead of resolvers/Query, resolvers/query.
Instead of resolvers/Query/myQuery, resolvers/query/my-query.

Is this possible?

@eddeee888
Copy link
Owner

Hello @alecrobertson1,

The preset is lacking this config option at the moment. However, it's totally doable. I'll add it as a feature to one of the future releases 🙂

@alecrobertson1
Copy link
Author

Brilliant, thanks @eddeee888!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants