auto_mappr

Code generation for mapping between different objects with ease.

MIT License

Stars
71

Bot releases are hidden (Show)

auto_mappr - AutoMappr v2.4.0 Latest Release

Published by tenhobi 7 months ago

  • Fix nested types ignores settings about null values (whenNull and ignoreNull). #191
  • Fix not considering renaming ("from") when mapping using setters. #192
auto_mappr - AutoMappr v2.2.0

Published by petrnymsa 11 months ago

  • Improve error messages. #147
  • When the source is not null, TypeConverter<Object, Object> and TypeConverter<Object, Object?> now support mapping of source field Object? -> target field Object?. #142
  • Support Field's field name mapping in reverse. #157
auto_mappr - auto_mappr-v2.1.1

Published by tenhobi about 1 year ago

  • Fix auto_mappr_annotation dependency. #130
  • Add support for nullable type converters. #130
auto_mappr - auto_mappr_annotation-v2.1.0

Published by tenhobi about 1 year ago

  • Allow TypeConverter to have <Object?, Object?>. #130
auto_mappr - auto_mappr-v2.0.1

Published by tenhobi about 1 year ago

  • Fix type converters when used with reverse mappings.
auto_mappr - auto_mappr_annotation-v2.0.0

Published by tenhobi about 1 year ago

  • Adhere to netglade_analysis 4.0.0. #111
  • Add reverse option to MapType. #115
  • Add type converters, use converters on AutoMappr or MapType. #119
auto_mappr - auto_mappr-v2.0.0

Published by tenhobi about 1 year ago

  • Breaking: Allow "absorbing" modules using includes on @AutoMappr. Previous modules is now delegates. #117
  • Breaking: Remove shared AutoMappr builder that used PartBuilder, now .auto_mappr.dart is generated using LibraryBuilder. #117
  • Add type converters, use converters on AutoMappr or MapType. #119
  • Add a reverse option on MapType, which includes the reverse mapping. #115
  • Add a support for Dart 3 and Records feature. #116
auto_mappr - auto_mappr-v2.0.0-beta2

Published by tenhobi about 1 year ago

  • Add type converters, use converters on AutoMappr or MapType. #119
auto_mappr - auto_mappr_annotation-v2.0.0-beta2

Published by tenhobi about 1 year ago

  • Add type converters, use converters on AutoMappr or MapType. #119
auto_mappr - auto_mappr_annotation-v2.0.0-beta1

Published by tenhobi about 1 year ago

  • Adhere to netglade_analysis 4.0.0. #111
  • Add reverse option to MapType. #115
auto_mappr - auto_mappr-v2.0.0-beta1

Published by tenhobi about 1 year ago

  • Breaking: Allow "absorbing" modules using includes on @AutoMappr. Previous modules is now delegates. #117
  • Breaking: Remove shared AutoMappr builder that used PartBuilder, now .auto_mappr.dart is generated using LibraryBuilder. #117
  • Add a reverse option on MapType, which includes the reverse mapping. #115
  • Add a support for Dart 3 and Records feature. #116
auto_mappr - auto_mappr-v1.7.0

Published by tenhobi about 1 year ago

  • Adhere to netglade_analysis. #94
  • Update analyzer and mocktail packages. #111
auto_mappr - auto_mappr-v1.6.0

Published by tenhobi about 1 year ago

  • Add support for Forced non-nullable field for nullable source. #105
auto_mappr - auto_mappr-v1.5.0

Published by tenhobi over 1 year ago

  • 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.
auto_mappr - auto_mappr_annotation-v1.1.1

Published by tenhobi over 1 year ago

  • Adhere to netglade_analysis 2.0.0.
auto_mappr - auto_mappr-v1.4.0

Published by tenhobi over 1 year ago

  • Add modules. #67
  • Split method builder into separate files. #67
  • Add when whenSourceIsNull support to enum mapping. #59
  • Add enum mapping fallback support for missing fields in the Target using whenSourceIsNull. #59
  • Fix top-level functions now work with whenSourceIsNull. #59
auto_mappr - auto_mappr_annotation-v1.1.0

Published by tenhobi over 1 year ago

  • Add AutoMapprInterface with methods:
    • canConvert
    • convert, tryConvert
    • convertIterable, tryConvertIterable
    • convertList, tryConvertList
    • convertSet, tryConvertSet
  • Add modules to AutoMappr annotation.
auto_mappr - auto_mappr-v1.3.1

Published by tenhobi over 1 year ago

  • Add documentation for enums and converting iterables. #52
  • Fix generator when multiple annotations are used. #51
  • Add Injectable example. #51
auto_mappr - auto_mappr-v1.3.0

Published by tenhobi over 1 year ago

  • 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
auto_mappr - auto_mappr-v1.2.1

Published by tenhobi over 1 year ago

  • Document how to use the convert method.
  • Update package's icon.