Skip to content

Commit 3554ad9

Browse files
committed
chore(changeset): objectql patch note for the six typed and moved ObjectQL bodies
Claude-Session: https://claude.ai/code/session_01Utp6CXX2qjqm2uXbJA8Jcv Co-authored-by: Claude <noreply@anthropic.com>
1 parent 205b86d commit 3554ad9

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
'@objectstack/objectql': patch
3+
---
4+
5+
refactor(objectql): the six `ObjectQL` methods the #4918 query-options erasure pin kept in `engine.ts` are typed and move into their facet modules; no behaviour or public declaration changes
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
- The six internal reads in `seedAutonumber`, `referenceExists`, `resolveMasterDetailParent`, `resolveMasterDetailParents`, `inspectDanglingReferences` and `probeReferencingRows` no longer erase their query options to `any`: `tsc` now checks each one against `EngineQueryOptions`, and `engine.ts` leaves the erasure baseline with zero sites.
11+
- A new fourth pass of the `engine.ts` codemod, `--members`, moves the six bodies the way the first pass moves a body, into the facet modules it already wrote, and proves the move by undoing it. `engine.ts` goes from 11,771 to 11,316 lines.
12+
- Nothing to do on upgrade: the exported names, the public `.d.ts` declarations and what every method does are the same.

0 commit comments

Comments
 (0)