Scope presentation associations to PresentationMount and retain navigation queries

Generate checked navigation query pairs from closed React contracts before
package checking. Retain per-type subscriptions under the logical
PresentationMount and resolve cold component metadata independently of code.

Keep scoped occurrence membership and idempotent local preparation in the
presentation library; copy directly through state contracts without reading
other PresentationMounts' source associations. Preserve normal transaction
creation, pending references, portal synchronization and detach.

Exercise automatic object refs in Reader queries, imported fragments and
structured/aggregate results. Add heterogeneous owner-index, live dependency,
cold metadata, browser ownership and latency coverage. Document measured
improvements, supported query limits and qualification evidence.
This commit is contained in:
Timothy J. Aveni
2026-09-26 12:32:47 -07:00
parent 3728612e8c
commit ad64ba532f
8 changed files with 260 additions and 24 deletions
+6
View File
@@ -171,6 +171,12 @@ export async function compileQuery(
visit(
document,
visitWithTypeInfo(projectionTypes, {
Field(node) {
const parent = projectionTypes.getParentType();
const member =
parent && generated.byName.get(parent.name)?.members.find((member) => member.displayName === node.name.value);
if (member?.kind === "relationship") generated.target(member);
},
InlineFragment(node) {
if (!node.typeCondition) return;
const from = projectionTypes.getParentType();