Skip to content

v3.0.0

Compare
Choose a tag to compare
@ugoevola ugoevola released this 23 Sep 22:36
· 11 commits to master since this release

Breaking Changed

  • The Mappings decorator doesn't work without Mapper on the parent class

Added

  • The ability to force the type of a targeted property
  • The ability to target a targeted property in depth
  • Implicit Mapping for more than one parameter
  • Reinforcement of the tests

Changed

  • Before the script auto-generated by Mappings did heavy calculations, like selecting the right BeforeMapping or AfterMapping methods before executing them. So when a method was called, the computation time varied depending on the number of methods inside the mapper.
    All the selection calculations are done when the mapper is instantiated, and the auto-generated mapping method does the minimum.
  • Adding one provided mapping method: getOrEmptyString
  • Review of returned exceptions

Fixed

  • The getConcatProperies without a separator don't work well, so now the separator must be filled in.