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

Singular vs Plural resource name #21

Open
Djiit opened this issue Dec 18, 2021 · 2 comments
Open

Singular vs Plural resource name #21

Djiit opened this issue Dec 18, 2021 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@Djiit
Copy link
Contributor

Djiit commented Dec 18, 2021

While generating the dto and entities using the outputToNestJsResourceStructure option, resources names are singular; but the CRUD resource generator of NestJS uses plural names. Should we use plural names?

@benkroeger
Copy link
Member

I believe, the CRUD resource will have whatever name you want it to. You provide the name when invoking the cli.
However, it seems that nest recommends plural form nestjs/docs.nestjs.com#1176

Happy to review a PR for a config option

@bmxpiku
Copy link

bmxpiku commented Jan 25, 2022

I'm really looking forward to this feature

@benkroeger benkroeger added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels May 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Development

No branches or pull requests

3 participants