-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
breaking: pluralize type helper to account for uncountable nouns and special rules #10011
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
6 Skipped Deployments
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
Fixes: FRMW-2771
This PR updates the
Pluralize
type helper to have two conditional checks when converting a singular value to plural at types level.tooth
,man
and so on.This change will make us more compatible with the runtime behavior of pluralizing values. However, things won't be in 100% sync yet.