-
-
Notifications
You must be signed in to change notification settings - Fork 161
Closed
Labels
Description
It seems pluralization is applied unconditionally in FormatResourceName and it cannot be controlled because it's not a concern of JsonNamingPolicy.
I see pluralization is done with Humanizer but trying to customize it seems ineffective, i.e:
CultureInfo.CurrentCulture = new CultureInfo("da-DK");
CultureInfo.DefaultThreadCurrentCulture = CultureInfo.CurrentCulture;But I would rather just like to be able to disable pluralization.
Would it make sense to introduce an option for this at JsonApiOptions level fx. PluralizeTypeNames with default true?