#120 Support nested (dot-separated) property paths in mapping attributes - #274
Merged
Conversation
Expand XML docs and Mappa/README for dot-separated TargetPropertyName/SourcePropertyName chains, require README updates when attributes change in the workflow rule, and bump to 10.2.0-alpha.5. Co-authored-by: Cursor <cursoragent@cursor.com>
Add PropertyPath helpers, PropertyPathContext, path-aware attribute matching, MP00043/MP00044 diagnostics, and chained source/target codegen in constructor map strategy detection and builders. Co-authored-by: Cursor <cursoragent@cursor.com>
Cover all six mapping attributes, multi-path MappaUseProperty cases, duplicate-path diagnostics, and nullability corner cases. Fix chained source resolution, nested attribute scopes, and property-path-aware validation/codegen. Co-authored-by: Cursor <cursoragent@cursor.com>
Fix shared target-root UseProperty, nested attribute scope, and flat identity regressions; bump to 10.2.0-alpha.7. Co-authored-by: Cursor <cursoragent@cursor.com>
Wire remaining-segment descent and nested validation; add helper/unit and integration coverage tests; register AOT samples; document attributes, algorithm, tutorial, features, and MP00043/MP00044; bump to 10.2.0-alpha.8. Co-authored-by: Cursor <cursoragent@cursor.com>
Cover PropertyMapStrategyBuilder fallback, path resolver/expression builder edges, nested attribute validation helpers, and GetNestedTypeMappingPropertyPathContext. Co-authored-by: Cursor <cursoragent@cursor.com>
6 tasks
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
MappaUseProperty,MappaInvokeMethod,MappaAssignFromConstant/FromContext/ToContext,MappaIgnoreTargetProperty) to accept dot-separated nested property paths, with path-aware matching, nested mapping context, and chained source/target codegen.GetNestedTypeMappingPropertyPathContext).Test plan
.\Scripts\RunTestsAndReportCoverage.ps1passesNestedPropertyPathAttributeIntegrationTests) passPropertyMapStrategyBuilderTests,PropertyPathSymbolResolverAndExpressionBuilderTests,MapMethodMappingAttributesValidatorNestedPathTests,ConstructorMapStrategyDetectorPropertyPathContextTests) passMade with Cursor