Skip to content

#275 Flattening/unflattening follow-up - #278

Merged
sanelli merged 4 commits into
mainfrom
275-flatteningunflattening-follow-up
Jul 19, 2026
Merged

#275 Flattening/unflattening follow-up#278
sanelli merged 4 commits into
mainfrom
275-flatteningunflattening-follow-up

Conversation

@sanelli

@sanelli sanelli commented Jul 19, 2026

Copy link
Copy Markdown
Owner

Summary

  • Fix nested property-path follow-ups from Flattening and unflattening #120 / Flattening/Unflattening follow-up #275: Ignore+UseProperty sibling matching (D4), receiver-based ?. and conditional ?? throw (D2), leaf chains reuse nested source temps (D1/D8), AssignFromConstant clears dead source reads (D5).
  • Extend nullability/mix integration tests and restore coverage; bump to 10.2.0-alpha.10.
  • Document corrected nested-path rules and AssignToContext leaf-from-result behaviour; require uploading implementation plans to the GitHub issue when opening PRs.

Test plan

  • .\Scripts\RunTestsAndReportCoverage.ps1 — all tests passed; line/branch/method ≥ step-1 baseline (97.5% / 90.5% / 95.4%)
  • Spot-check generated nested Ignore+UseProperty: ZipCode omitted, City mapped
  • Spot-check non-nullable int leaf chain has no ?? throw
  • CI PR checks green (version increase vs main)

Closes #275

sanelli and others added 4 commits July 19, 2026 14:19
…en creating a PR.

Extend the Mappa development workflow so PR creation also posts the plan from .cursor/plans/ to the original issue.

Co-authored-by: Cursor <cursoragent@cursor.com>
Correct Ignore+UseProperty sibling matching, ?? throw rules, relative leaf chain temps, and AssignFromConstant dead reads. Extend nullability/mix tests and bump to 10.2.0-alpha.9.

Co-authored-by: Cursor <cursoragent@cursor.com>
…tes.

Align attributes, algorithm, tutorial, and generator README with receiver-based conditional access, Ignore+UseProperty siblings, and post-construction nested AssignToContext.

Co-authored-by: Cursor <cursoragent@cursor.com>
Add Nullable<T> leaf tests, remove unreachable root-prefix fallthrough, and bump to 10.2.0-alpha.10 so line/branch/method stay at or above baseline.

Co-authored-by: Cursor <cursoragent@cursor.com>
@sanelli sanelli linked an issue Jul 19, 2026 that may be closed by this pull request
6 tasks
@sanelli sanelli mentioned this pull request Jul 19, 2026
6 tasks
@sanelli
sanelli merged commit 3aca747 into main Jul 19, 2026
1 check passed
@sanelli
sanelli deleted the 275-flatteningunflattening-follow-up branch July 19, 2026 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flattening/Unflattening follow-up

1 participant