smartstruct 1.2.1
smartstruct: ^1.2.1 copied to clipboard
smartstruct - A dart bean mapper annotation processor - the easy nullsafe way!
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.
1.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'
1.1.3 #
- Added Support for Lists (https://github.com/smotastic/smartstruct/issues/12)
1.1.2+1 #
- Added tests for the generator (https://github.com/smotastic/smartstruct/issues/8)
- Added Example
- Documentation
1.1.2 #
- Hotfix: Change Builder dependency in build.yaml
1.1.1 #
- Hotfix. Forgot to add smartstruct pub dev dependency
1.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
1.0.5 #
1.0.3 #
- README updated
1.0.2 #
- README updates
1.0.1 #
- Added explicit field mapping support via Mapping Annotation
1.0.0 #
- Initial Mapper Annotation published