Skip to content

Commit c046475

Browse files
committed
refactor(objectql): projectHomeAmountsOntoPatch's stub passes serving through; retire the two home-amount facade exception rows
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5kF4yD4vMatZJ2chQM
1 parent aba639d commit c046475

2 files changed

Lines changed: 1 addition & 15 deletions

File tree

‎packages/objectql/src/engine.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2576,7 +2576,7 @@ export class ObjectQL implements IObjectQLEngine {
25762576
patch: Record<string, unknown>,
25772577
context: ExecutionContext | undefined,
25782578
recordId: unknown,
2579-
serving: HomeAmountServing = this.homeAmountServing(context),
2579+
serving?: HomeAmountServing,
25802580
): Promise<void> {
25812581
// [#29986 codemod] The body moved to `engine-references-and-master-detail.ts`, its docblock with it (see `ReferencesAndMasterDetailHost`).
25822582
return ReferencesAndMasterDetailFacet.projectHomeAmountsOntoPatch.call(referencesAndMasterDetailHost.of(this), object, plan, prior, patch, context, recordId, serving);

‎scripts/facade-delegation-registry.json‎

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -66,20 +66,6 @@
6666
"card": "#30020",
6767
"reason": "state-owning: bare-this, the body hands the instance itself on (#29986 report: stays on the class)"
6868
},
69-
{
70-
"file": "packages/objectql/src/engine.ts",
71-
"class": "ObjectQL",
72-
"member": "homeAmountServing",
73-
"card": "#30975",
74-
"reason": "codemod limit: field-call, it calls a field or accessor as a function (#29986 report)"
75-
},
76-
{
77-
"file": "packages/objectql/src/engine.ts",
78-
"class": "ObjectQL",
79-
"member": "projectHomeAmountsOntoPatch",
80-
"card": "#30975",
81-
"reason": "codemod limit: gate reading, a parameter default computes (calls this.homeAmountServing)"
82-
},
8369
{
8470
"file": "packages/objectql/src/engine.ts",
8571
"class": "ScopedContext",

0 commit comments

Comments
 (0)