smartstruct 1.4.0 copy "smartstruct: ^1.4.0" to clipboard
smartstruct: ^1.4.0 copied to clipboard

smartstruct - A dart bean mapper annotation processor - the easy nullsafe way!

v1.4.0 #

v1.3.0 #

  • Bump Analyzer to 4.0.0 (Thanks to @luissalgadofreire)

Bugfixes #

v1.2.7 #

Bugfixes #

Features #

Static Mapping (https://github.com/smotastic/smartstruct/issues/53) Static Mapping with a proxy (https://github.com/smotastic/smartstruct/pull/59) (Thanks to @skykaka)

v1.2.6 #

v1.2.5 #

v1.2.4+1 #

v1.2.4 #

v.1.2.3+1 #

  • Updated analyzer dependency to 2.0.0

v.1.2.3 #

Features:

v1.2.2 #

Fixes:

  • The generator will now always run after all .g.dart files from other builders have been run, so the mapper can potentially create mappers for other created classes. See Issue #24

v.1.2.1 #

  • Constructors in the abstract mapper will now also be implemented by the generated mapper class (https://github.com/smotastic/smartstruct/issues/22). This should fix an issue where you cannot inject dependencies via the constructor in your mapper class.

v1.2.0 #

  • Fixed the useInjection attribute to properly work now (https://github.com/smotastic/smartstruct/issues/19) Note that all generated files are suffixed with .mapper.g.dart now instead of .g.dart So for migration purposes you'll have to just change the part 'foomapper.g.dart' in your mapper files to part 'foomapper.mapper.g.dart
// before
part 'foomapper.g.dart'
// after
part 'foomapper.mapper.g.dart'

v1.1.3 #

v1.1.2+1 #

v1.1.2 #

  • Hotfix: Change Builder dependency in build.yaml

v1.1.1 #

  • Hotfix. Forgot to add smartstruct pub dev dependency

v1.1.0 #

  • Split the code into a generator, and smartstruct library project. To migrate from earlier versions, you need to add the smartstruct_generator dependency to your dev_dependencies This has the advantage that your final build won't have to include the builder code, but only the mapper annotations

v1.0.5 #

  • Add support for optional source and target parameters

v.1.0.4 #

  • Add support for nested bean mapping

v1.0.3 #

  • README updated

v1.0.2 #

  • README updates

v1.0.1 #

  • Added explicit field mapping support via Mapping Annotation

v1.0.0 #

  • Initial Mapper Annotation published
48
likes
150
points
815
downloads

Publisher

unverified uploader

Weekly Downloads

smartstruct - A dart bean mapper annotation processor - the easy nullsafe way!

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

BSD-3-Clause (license)

More

Packages that depend on smartstruct