Skip to content

Releases: nejcskofic/ObjectMapper

Updated ObjectMapper.Framework library

20 Feb 22:01
Compare
Choose a tag to compare

Bugfixes

  1. 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

20 Feb 20:33
Compare
Choose a tag to compare

Enhancements

  1. 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.
  2. Added new analyser for ObjectMapperMethodAttribute usage so that error is raised if method does not conform to specification.

Bugfixes

  1. Fixed bug when IObjectMapperAdapter methods were always recreated even when methods already existed.
  2. Fixed incorrect syntax tree modification which resulted in changes not being applied

Other changes

  1. Added full suit of unit tests for both analysers and generator

Minor stabilization and signed assembly creation

03 Feb 20:54
Compare
Choose a tag to compare

Bugfixes

  1. 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

  1. All assemblies are now strongly typed.
  2. Version was set to 1.1.0 to adhere with standard versioning format.

Initial release

03 Feb 20:32
Compare
Choose a tag to compare

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