adeptgenerator 2.0.1+10 adeptgenerator: ^2.0.1+10 copied to clipboard
This generator creates a function that returns a new instance of the annotated ClassType by creating a copy of the currentData and replacing its fields with the newData
2.0.1+10 #
Added #
- Support for @CloneKey
defaultValue
to be used if the currentData or newData isnull
. - Support for @DiffKey
defaultValue
to be used if currentData and newData are equal.
1.3.0+6 #
Added #
- New generator for @Differentiable() and @DiffKey annotations from adeptannotations package.
- New property forceCurrentData on @CloneKey() annotation
1.2.0+3 #
- Generator updated to work with ignoreSynthetic from Cloneable annotation
- Static, const and final fields excluded from cloning
- Validations added to ensure synthetics fields are properly defined to be used in cloning
1.1.0+2 #
- CloneKey ignore flag is taken into account to ignore fields while cloning
1.0.0+1 #
- Readme updated
1.0.0 #
- First release