Implement checked aggregation plans, native SQL, and bounded RPC capture

This commit is contained in:
Timothy J. Aveni
2026-09-17 18:23:16 -07:00
parent cd13120937
commit e61b0a36ac
17 changed files with 2968 additions and 100 deletions
+9
View File
@@ -17,4 +17,13 @@ test("query fixture links generic collections, both implementations, and native
assert.equal(title.kind, "value");
delete title.queryRead;
assert.throws(() => linkQueries(broken), /changed/);
const aggregateBroken = structuredClone(workspace);
const rank = aggregateBroken.interfaceImports
.find((i) => i.displayName === "TaskFacts")!
.members.find((m) => m.id === "rank")!;
assert.equal(rank.kind, "value");
delete rank.queryRead;
assert.throws(() => linkQueries(aggregateBroken), /changed/);
const totals = workspace.linkedQueries.find((q) => q.id.endsWith(":totals"))!;
assert.equal(totals.fields.filter((f) => f.memberId === "rank").length, 2);
});