auto_mappr 2.5.0 auto_mappr: ^2.5.0 copied to clipboard
Code generation for mapping between different objects with ease.
2.4.0 #
2.2.0 #
2.0.0 #
- Breaking: Allow "absorbing" modules using
includes
on@AutoMappr
. Previousmodules
is nowdelegates
. #117 - Breaking: Remove shared AutoMappr builder that used PartBuilder, now
.auto_mappr.dart
is generated using LibraryBuilder. #117 - Add type converters, use
converters
onAutoMappr
orMapType
. #119 - Add a
reverse
option onMapType
, which includes the reverse mapping. #115 - Add a support for Dart 3 and Records feature. #116
2.0.0-beta1 #
- Breaking: Allow "absorbing" modules using
includes
on@AutoMappr
. Previousmodules
is nowdelegates
. #117 - Breaking: Remove shared AutoMappr builder that used PartBuilder, now
.auto_mappr.dart
is generated using LibraryBuilder. #117 - Add a
reverse
option onMapType
, which includes the reverse mapping. #115 - Add a support for Dart 3 and Records feature. #116
1.5.0 #
- Add support for library aliases, so mapping now supports types from different libraries with the same name. It also work in cases when library alias's exports. #62
- Adhere to netglade_analysis 2.0.0.
1.4.0 #
1.3.1 #
1.3.0 #
- Fix mapping from/to subclasses. #37
- Add
tryConvert
method. #34 - Fix selecting private constructors. #37
- Add non factory over factory constructor selection preference. #37
- Add
required_inputs
with.freezed.dart
and.drift.dart
by default. #31 - Add enum mapping support. #36
- Add
try/convert{Iterable,List,Set}
methods. #35
1.2.0 #
- Adhere lints to
netglade_analysis
1.2.0. #20 - Use tear-offs when possible.
- Omit map when possible.
- Omit null check of non-nullable when possible.
1.1.2 #
- Update exception messages to include suggestions for troubleshooting.
- Add a Discord link to README.
1.1.1 #
- Add about section to README.
- Add a note about using generated source and target classes.
1.1.0 #
- Add support for generics.
1.0.1 #
- Fix pub.dev issues.
1.0.0 #
- Initial version.
- Add primitive objects mapping
- Add complex objects mapping
- Add field mapping
- Add custom mapping
- Add ignoring mapping
- Add iterable objects mapping
- Add maps objects mapping
- Add default field value
- Add default object value
- Add constructor selection
- Add positional and named constructor parameters
- Add mapping to target (constructor parameters or public setters)
- Add mapping from source (public instance or static getters)
- Add nullability handling
- Add works with
equatable
- Add works with
json_serializable