omni_mapper 0.5.2
omni_mapper: ^0.5.2 copied to clipboard
Annotations for the OmniMapper code generator. Automatically generates type-safe object-to-object mapping code between DTOs, Models, and Entities.
0.5.2 #
- Updates the README with detailed examples for all advanced features.
0.5.1 #
- Bumps
omni_mapperto0.5.1.
0.5.0 #
- Introduces
@OmniFieldannotation for fine-grained field-level configuration directly on class properties. - Adds support for
name,ignore,custom, anddefaultValueinside@OmniField. - Unifies default value and custom mapping type validations.
0.4.0 #
- Introduces the
usesproperty to@OmniMapperfor robust dependency injection and nested mapper integration. - Adds support for polymorphic subclass mapping via
@SubclassMapping. - Implements
MappingRulecustom field expressions. - Supports evaluating literal default values during code generation.
0.3.0 #
- Adds support for mapping from multiple source objects into a single target.
- Adds automatic enum mapping (
approach_i_enum_mapping.dart). - Implements deep auto-flattening for nested mapping.
- Adds automatic reverse mapping via the
generateReverseoption.
0.2.0 #
- Adds
strictModemapping option to enforce complete mappings. - Adds
ignoreIfNullmapping option for PATCH-like object updates. - Introduces custom mapping hooks via the
OmniHookabstract class.
0.1.0 #
- Initial release.
- Adds
@OmniMapperannotation with support fortarget,from,methodName,fieldMaps,defaultValues,converters,ignoreFields,generateListMapper, andgenerateUpdateMethod. - Adds
@OmniMappersannotation for defining multiple mappings on a single class. - Adds
OmniConverter<S, T>abstract class for custom type conversions.