Skip to content

feat: add --typeMappings and --noSingularize options#19

Open
twiesing wants to merge 2 commits into
StephenGunn:mainfrom
twiesing:feat/non-english-singularization
Open

feat: add --typeMappings and --noSingularize options#19
twiesing wants to merge 2 commits into
StephenGunn:mainfrom
twiesing:feat/non-english-singularization

Conversation

@twiesing

Copy link
Copy Markdown

The pluralize library assumes English, which breaks non-English collection names ending in "s" (e.g. "kurs""Kur" instead of "Kurs").

--typeMappings allows explicit collection-to-type overrides. --noSingularize disables singularization entirely.

Closes #18

The pluralize library assumes English, which breaks non-English
collection names ending in "s" (e.g. "kurs" → "Kur" instead of "Kurs").

--typeMappings allows explicit collection-to-type overrides.
--noSingularize disables singularization entirely.

Closes StephenGunn#18
@twiesing

Copy link
Copy Markdown
Author

It would be great if this could be included in the core. Please let me know if there’s anything I should change or improve. @StephenGunn

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

Successfully merging this pull request may close these issues.

Singularization breaks non-English collection names

1 participant