kepelrs / nestjs-prisma-crud-schematics

MIT License
1 stars 5 forks source link

Feature/optional pluralize #84

Open robblovell opened 1 year ago

robblovell commented 1 year ago

PR Checklist

Please check if your PR fulfills the following requirements:

I am unsure of where documentation should be updated.

PR Type

What kind of change does this PR introduce?

What is the current behavior?

Issue Number: #83

What is the new behavior?

A pluralize flag is added that defaults to true. If the flag is true, it behaves as before. If it is false, dtos and entities are not de-pluralized.

Does this PR introduce a breaking change?

Other information

robblovell commented 1 year ago

Okay, I see the documentation pages are in the other repo, but I don't see documentation of the flags. I am also unsure how to pass a flag from the command line using:

nest g -c nestjs-prisma-crud-schematics crud-resource [schema name]