Skip to content

Commit 5cf3f79

Browse files
committed
chore(changeset): objectql patch for the delete body move
Claude-Session: https://claude.ai/code/session_01ADHkmNmrFUKGH6LP8Jj8ZV Co-authored-by: Claude <noreply@anthropic.com>
1 parent 3c4f148 commit 5cf3f79

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
'@objectstack/objectql': patch
3+
---
4+
5+
refactor(objectql): the `ObjectQL#delete` body moves into the delete-and-aggregate facet
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
- The body of `delete` moves out of `engine.ts` into `engine-delete-and-aggregate.ts`, beside `aggregate`. The method stays on the class as a one-call stub with its signature and its docblock. Where the body handed the engine itself on (`ql: this` in the hook context), it reads the same engine through the host's `facade` entry, and its one static read (the reference probe batch size) goes through the forwarder the other facets already use.
11+
- No behaviour changes and nothing to do on upgrade: the same statements run in the same order. The built declaration files are unchanged; the source maps move.

0 commit comments

Comments
 (0)