-
-
Notifications
You must be signed in to change notification settings - Fork 152
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
feat: Add option to specify the string format of a property #921
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #921 +/- ##
==========================================
+ Coverage 91.50% 91.53% +0.03%
==========================================
Files 215 217 +2
Lines 7216 7269 +53
Branches 873 879 +6
==========================================
+ Hits 6603 6654 +51
- Misses 407 408 +1
- Partials 206 207 +1 ☔ View full report in Codecov by Sentry. |
Switched to a |
🎉 This PR is included in version 3.3.0-next.4 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 3.3.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
String format for property mappings
Description
Adds a
StringFormat
property to theMapPropertyAttribute
to specify the format of the to string conversion.Use the
TypeMappingKey
to resolve mappings (including the configuration (for now only the string format)) instead of only the source and target type to allow the same type conversion with different configurations.Partially implements #887
Checklist