Conformance
Use this checklist when claiming MeshQL protocol compatibility.
Reference implementation: github.com/meshql/meshql @meshql/* packages.
Level 1 — Core
Section titled “Level 1 — Core”-
GET /:entity/:idwithX-Mesh-Query+X-Mesh-Format: jsonreturns 200 JSON - Missing
X-Mesh-Queryreturns 400TransportError - Unknown field returns 400
ValidationError - Nested relation selection returns nested JSON (shaper or equivalent)
- Multi-level nesting (
a.b.c) returns correct nesting (not flattened away) - QL format accepted when
X-Mesh-Format: ql(selection-only; explicit format required) -
POST /accepts{ "query", "format" }body
Pass fixtures: fixtures/queries, fixtures/responses.
Level 2 — Collections
Section titled “Level 2 — Collections”-
GET /:entityreturns{ items, pageInfo } -
$page.firstrespects the maximum (≤ 200) -
$whereboolean trees and supported operators are applied or cleanly rejected -
$orderByappends a deterministic id tiebreaker -
$page.afterperforms scoped keyset pagination -
$groupBy,$aggregate,$having, and$distinctare applied or cleanly rejected - Read controls live in the signed query payload, not the URL querystring
Level 3 — Integrity
Section titled “Level 3 — Integrity”-
POST /authreturns token material - Valid HMAC on
X-Mesh-Queryaccepted - Tampered base64 query rejected
- Logout revokes token
Level 4 — Uploads
Section titled “Level 4 — Uploads”- Multipart upload routes accept
filepart -
contentHashmismatch rejected when signing enabled
Optional profile — Computed fields
Section titled “Optional profile — Computed fields”- Computed names are selectable under
$select - Physical dependencies are fetched but omitted unless selected
- Cross-entity
join.fielddependencies add the required join - Computed-to-computed and unknown dependencies are rejected
- Computed fields denied by access rules do not expose their dependencies
- Computed fields in
$whereare rejected
Reporting
Section titled “Reporting”Publish which level you claim and the tested @meshql/* release. Linking
fixture diffs in CI is encouraged.