adeptgenerator 3.0.3+15 copy "adeptgenerator: ^3.0.3+15" to clipboard
adeptgenerator: ^3.0.3+15 copied to clipboard

outdated

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

3.0.3+15 #

Fixed #

  • Minor bug fixed

3.0.2+14 #

Changed #

  • analyzer dependency breaking change upgraded

3.0.1+13 #

Fixed #

  • Synthetic fields bug fixed when validating for getter and setter.

3.0.0+12 #

Changed #

  • analyzer dependency breaking change upgraded

2.1.0+11 #

Added #

  • @CloneKey added cloneFunction to be used for specific cloning on a field.
  • @CloneKey added considerEmptyCollectionAsNull to ignore data from collections if it's empty as it were null.
  • @DiffKey added diffFunction to be used for specific diff on a field.

2.0.1+10 #

Added #

  • Support for @CloneKey defaultValue to be used if the currentData or newData is null.
  • Support for @DiffKey defaultValue to be used if currentData and newData are equal.

2.0.0+9 #

Added #

  • Support for null-safety

1.3.1+8 #

Fixed #

  • Analyzer dependency version conflicts fixed

1.3.1+7 #

Changed #

  • Dependencies updated

1.3.0+6 #

Added #

  • New generator for @Differentiable() and @DiffKey annotations from adeptannotations package.
  • New property forceCurrentData on @CloneKey() annotation

1.2.2+5 #

Changed #

  • Updated dependencies

1.2.1+4 #

Changed #

  • Updated dependencies

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
1
likes
0
pub points
7%
popularity

Publisher

unverified uploader

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

Homepage

License

unknown (LICENSE)

Dependencies

adeptannotations, analyzer, build, source_gen

More

Packages that depend on adeptgenerator