Skip to content

Adds Support for Non-Default Constructors for Mapping and Other Features

Compare
Choose a tag to compare
@thehappybug thehappybug released this 12 May 20:28
· 34 commits to master since this release
  1. Adds support for mapping to classes that have non-default constructors. Arguments are passed to the ctor based on the parameter name and type and matching setter.
  2. Adds support for @map and @factory annotations to setter methods. Previously, only class fields were supported with these annotations.
  3. Improves test coverage by adding new unit tests.

Since this release changes the mapping behavior for classes that have non-default constructors, we are bumping up by a major version number.