v10.1.0-pre01 #1002
DocSvartz
announced in
Announcements
v10.1.0-pre01
#1002
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
New features
DefaultValue()- Custom default value for Destination typeMapUsing()- Map Property/Field with using Override type mapping settingsUnlike
Map(), which is designed to specify an alternative source for a Property/Field, usingMapUsing()you can set unique settings for mapping types for the specified Property/Field:Implementation Features
Does not support ExtraSource/Flattening mapping -
.Map(dest => dest, src => src.Props)By default Override type mapping settings has will contain all the settings, which are installed in the settings setter pipeline (merge default settings for a type and specific settings.)
2.1) Additional behavior for Override type mapping settings
2.1.1)
.ReConfigurate()- Allows you to set or override existing settings.Note
Some settings cannot be overridden due to the way it is stored.
2.1.2)
.SkipAllSettings(true)- create new config like using.NewConfig<TSource,TSource>()In this case, no default settings are applied.2.1.3)
.SkipSettings()- Prevents the application of the selected settingsCaution
This setter will be removed in release.
If you need Skip the settings that can be accessed using this method, please leave a comment in this release discussion or submit a PR. Thanks!
What's Changed
Full Changelog: v10.0.11...v10.1.0-pre01
This discussion was created from the release v10.1.0-pre01.
All reactions