-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Consider using Humanizer #11160
Comments
|
Note: this should only ever be a design-time dependency. |
Fix test localization bug fixes dotnet#11160
Fix test localization bug fixes dotnet#11160
Fix test localization bug fixes dotnet#11160
Fix test localization bug fixes dotnet#11160
Fix test localization bug fixes dotnet#11160
I'm starting to see complaints about this breaking workflows. Was there a reason why this new feature was enabled by default instead of being opt-in? |
That explains why it is available, not why it was necessary to make it the default, introducing a breaking change. |
Why Using plural forms of words for collection properties and singular forms for types and reference properties is idiomatic in .NET. |
@Grauenwolf To expand on Erik's comments, we chose to make a breaking change here because we believe that the long term benefit to customers outweighs the short-term cost. This is based on:
|
So what happens when Humanizer is updated to fix the numerous spelling errors it introduces? Will EF Core pick up the new version, introducing bragging changes again, or are we stuck with any misspellings? |
@Grauenwolf We intend to pick up the new version. The reason we couldn't do that in EF6 is because the pluralizer changed runtime behavior. In EF Core it only impacts tooling behavior, and we consider it acceptable to fix bugs like misspellings in tooling. |
Thank you for your time. |
Roslyn has taken a dependency on this lib for pluralization: http://humanizr.net
“Humanizer meets all your .NET needs for manipulating and displaying strings, enums, dates, times, timespans, numbers and quantities.”
Features
• Humanize String
• Dehumanize String
• Transform String
• Truncate String
• Format String
• Humanize Enums
• Dehumanize Enums
• Humanize DateTime
• Humanize TimeSpan
• Humanize Collections
• Inflector methods
• Pluralize
• Singularize
• Adding Words
• ToQuantity
• Ordinalize
• Titleize
• Pascalize
• Camelize
• Underscore
• Dasherize & Hyphenate
• Fluent date
• Number to Numbers
• Number to words
• Number to ordinal words
• Roman numerals
• Metric numerals
• ByteSize
The text was updated successfully, but these errors were encountered: