You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MapStruct should convert between Locale and String using toLanguageTag() and forLanguageTag(). While Locale has a toString() it does not have a way to parse the result so language tags are a better string version of a Locale.
Use case
MapStruct should convert between
LocaleandStringusingtoLanguageTag()andforLanguageTag(). WhileLocalehas atoString()it does not have a way to parse the result so language tags are a better string version of aLocale.I'll have a PR shortly.
Generated Code
No response
Possible workarounds
No response
MapStruct Version
No response