Releases: ossplz/simple-mapper
Releases · ossplz/simple-mapper
Proper module
Getting up to speed
Features:
- Validation - automatically validates provided view models, by default (helps check for typos).
- Configuration options:
- noUnmappedWarnings (default: false) - turn on/off warnings, globally. Can be overridden at the method level.
- validateOnStartup (default: true) - whether to validate on instantiation.
Misc/Bug fixes
None.
By-reference mappables
Features:
- Added by-reference mappables so you no longer need to provide the view models to the mapper engine at init.
//...
@mappable(MyClass)
property: MyClass = null;
Misc/Bugs
- Fixed a strange bug wherein typescript might decide to provide a reference to a function rather than its prototype object when referenced from a decorator.
- Fixed async tests, added tests.
- Updated readme to reflect new feature.
1.0.5
Initial release
First release just to get it out there.