[claude] Drop the shadow *Rows query-rewrite properties - #29
Conversation
linq2db 6.4.0 honors IsColumn=false at entity materialization (linq2db/linq2db#5578), so the Json.Query rewrite can live on the real Sense.SemanticDomains / Entry.PublishIn properties again instead of shadow accessors leaking into the MiniLcm domain model (issue 2291). The empty-list filter projections now reach the raw column via Sql.Property: linq2db still expands the rewrite inside a comparison operand (upstream "PR B" was never filed), so comparing the bare property to '[]' stopped translating. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
💤 Files with no reviewable changes (3)
Included review availability: 3 reviews are currently available. Your included PR review attempts over the past 7 days set your current allowance at 5 reviews per hour. 📝 WalkthroughWalkthroughThe change updates JSON query mappings to use public ChangesJSON property query mapping
Merge Risk: ⚪ Minimal · up to The PR updates query rewriting and removes obsolete shadow accessors, with the supplied targeted tests passing. No actionable merge-blocking risk remains beyond normal checks and review. Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|
@coderabbitai review |
✅ Action performedReview finished.
|
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Promoted to sillsdev#2582 |
[Claude, autonomous]
Staging PR — never merge; promoted to sillsdev when polished (see FORK.md). Stacked on #28.
linq2db 6.4.0 honors IsColumn=false at entity materialization (linq2db/linq2db#5578), so the Json.Query rewrite moves back onto the real Sense.SemanticDomains / Entry.PublishIn properties and the shadow *Rows accessors leave the MiniLcm domain model (sillsdev#2291, revert steps 1+2).
The empty-list filter projections now reach the raw column via Sql.Property: linq2db still expands the rewrite inside comparison operands (upstream "PR B" was never filed), so comparing the bare property to '[]' stopped translating. The Sql.Alias peel in Json.cs also stays ("PR C" not filed either).
Verified: the 145 LcmCrdt query/filter tests pass (the 6 missing-publishIn/semanticDomains ones failed before the Sql.Property fix).
Summary by CodeRabbit