You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2cfacff
Browse filesBrowse the repository at this point in the historyBrowse files
fix(spec): follow ADR-0122's author/parsed alias convention on the new types
`QueryWithTransport` is the author state and `QueryWithTransportParsed` the
parsed one; `QueryTransportParamsParsed` names the parsed transport bag.
`check:spec-parsed-alias` named both, and the test-side engine mock is typed
with the parameters it is really called with.
Claude-Session: https://claude.ai/code/session_01LvwGppdonww4zGLWZo5rho
Co-authored-by: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: .changeset/16066-query-transport-dialect-declared.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,11 +9,11 @@ The query TRANSPORT dialect is declared, and the `findData` fold now derives fro
9
9
10
10
**New in `@objectstack/spec/data`** (8 exports, 0 removed):
11
11
12
-
-`QueryTransportParamsSchema` / `QueryTransportParams` — the transport parameters, each carrying the value of the canonical slot it folds onto.
12
+
-`QueryTransportParamsSchema` / `QueryTransportParams`/ `QueryTransportParamsParsed`— the transport parameters, each carrying the value of the canonical slot it folds onto.
13
13
-`QUERY_TRANSPORT_ALIAS_SLOTS` — `RPC_QUERY_ALIAS_SLOTS` extended with the transport-only spellings (`filters` / `$filter` onto `where`, `$expand` onto `expand`).
14
14
-`QUERY_TRANSPORT_DOLLAR_ALIASES` — the `$`-to-bare pairs that fold in two hops (`$top` onto `top` onto `limit`).
15
15
-`QUERY_TRANSPORT_DOLLAR_PARAMS` — the `$` spellings a boundary quotes when it refuses an undeclared one.
16
-
-`QueryWithTransportSchema` / `QueryWithTransport` / `QueryWithTransportInput` — the query slot whose declared input is the AST or its transport spelling and whose declared output is the AST.
16
+
-`QueryWithTransportSchema` / `QueryWithTransport` / `QueryWithTransportParsed` — the query slot whose declared input is the AST or its transport spelling and whose declared output is the AST.
17
17
18
18
**`FindDataRequestSchema.query` is that slot now.** Its `z.input` admits the canonical AST, the transport spelling, or a bag carrying both; its `z.output` is still the AST, reached by a transform driven by the two tables. The transport form is declared as the FLATTENED SPELLING of the canonical AST with a 1:1 alias table — never as a second semantics — so `QuerySchema` itself is untouched and still drops a `$` key as unknown.
0 commit comments