Releases: nejcskofic/ObjectMapper
Releases · nejcskofic/ObjectMapper
Updated ObjectMapper.Framework library
Bugfixes
- When building NuGet package previous version of ObjectMapper.Framework library was incorrectly included. Added updated library and rebuilt NuGet package.
Mapper attribute addition and bugfixes
Enhancements
- ObjectMapperMethodAttribute was added to ObjectMapper.Framework assembly. It can be used on method to generate mapping code without without having to use one of mapping interfaces.
- Added new analyser for ObjectMapperMethodAttribute usage so that error is raised if method does not conform to specification.
Bugfixes
- Fixed bug when IObjectMapperAdapter methods were always recreated even when methods already existed.
- Fixed incorrect syntax tree modification which resulted in changes not being applied
Other changes
- Added full suit of unit tests for both analysers and generator
Minor stabilization and signed assembly creation
Bugfixes
- If compilation unit was invalid (for example when source or target class contains more than one property with the same name), code generator would crash.
Other changes
- All assemblies are now strongly typed.
- Version was set to 1.1.0 to adhere with standard versioning format.
Initial release
Version 1.0.x
This is initial release of SimpleObjectMapper NuGet package. This version supports the following:
- ObjectMapper.Framework library contains basic mapping interfaces which you can use on your classes to define mapping contract
- ObjectMapper.Framework library contains some helper extensions, such as copying data from one collection to another and creating new objects and copying data into them
- Contains analyzer and code generator with which you can generate mapping code
- Generated code matches properties by name and type
- Supports copying between collections if generic type is the same
- Currently there is no support for copying nested structures