dart_mapper_generator 1.0.5
dart_mapper_generator: ^1.0.5 copied to clipboard
Code generator for dart_mapper. Produces mapping implementations at compile time via build_runner.
1.0.5 #
- Fix:
@ValueMappingnow correctly appliesanyRemainingandanyUnmappedstrategies (#86) - Fix:
forceNonNullis no longer incorrectly applied during nested object mapping (#86)
1.0.4 #
- Fix: handle null value mapping in enum-to-raw conversion (#85)
1.0.3 #
- Fix: resolve import alias for types re-exported via barrel files (#67)
1.0.2 #
- Fix: preserve import alias in null-source and ANY_REMAINING enum mapping (#80)
- Fix: skip nullability guard when callable handles the conversion (#44)
- Fix: resolve generic field types using InterfaceType substitution for generic classes like
Pagination<T>(#81)
1.0.1 #
- Add support for nullValue-as-source in enum mapping
- Fix inherit-config ignore behavior
1.0.0 #
- Implement @SubclassMapping support for runtime-type dispatch in mappers (#76)
- Add support for conditional field mapping with expressions and default values (#75)
- Add support for default, constant values, dot notation and multiple params access (#74)
- Add dynamic and generic field support with corresponding mappers (#73)
- Add golden tests for mapping validation (#72)
0.9.0 #
- Escape ArgumentError for enum by sanitizing display name (#64)
- Add support for multiple value mapping in enums (#65)
- Update dependency analyzer to v8.
- Update dependency build to v4.
- Update dependency lints to v6 (#42)
- Update dependency strings to v4 (#48)
- Update dependency source_gen to v4 (#55)
- Update dependency flutter to v3.38.5 (#58)
0.8.0 #
- Checking ExternalMappingMethods when field is NestedField for BuiltExpressionFactory (#38)
- Add support for callable function in @Mapping annotation. (#39)
0.7.0 #
- Add support for force non null flag in Mapping annotation.
0.6.0 #
- Add support for InheritConfiguration and InheritInverseConfiguration annotations.
- Update dependency analyzer to v7.
- Update dependency dart_style to v3.
- Update dependency freezed to v3.
- Update dependency freezed_annotation to v3.
- Update dependency lints to v5.
- Update dependency source_gen to v2.
- Update dependency flutter to v3.29.2.
0.5.0 #
- Add support for import aliases during the generation of mapping methods.
- Add support for circular object mapping, via lazy analysis.
- Introduce reusing of user-defined method during the generation of mapping methods.
0.4.0 #
- Enhance error handling.
- Add support for built enum mapping.
- Enhance transformation from num to double and int.
0.3.0 #
- Add support for automatic transformation mapping if two fields are primitive. DateTime included.
- Improve find nullability in external mapping method.
0.2.2 #
- Auto skipping copyWith, toString, hashCode, runtimeType from getters.
- Fix support for first level ignoring mapping.
0.2.1 #
- Enhance enum mapping function reusing from other mappers.
- Remove meta dependency.
0.2.0 #
- Add support to freezed classes.
- Add support to built classes.
- Add support to enums.
- Add support to uses external mappers.
0.1.0 #
- Initial version.