Skip to content

rest: the three server-built findData literals speak the canonical QueryAST; retire wireDialectQuery (consumer half of #16066) #16337

Description

@os-zhuang

Consumer half of #16066, split by director ruling (decision batch #58, 2026-09-06, option A). Independent of the spec half — this card does not wait on it.

Why

#15866 typed 22 protocol-dispatch sites in packages/rest/src/rest-server.ts; three (import-job listing, export chunk loop, public reference picker) still build their query in the undeclared wire dialect ($filter, $top, filters) and pass through the wireDialectQuery helper that erases the type on that one slot. Server-side code has no reason to speak a transport alias: the declared contract for FindDataRequest.query is the QueryAST.

Scope

Out of scope

Acceptance

  • three sites compile against the declared contract with no erasure
  • wireDialectQuery gone
  • changeset present

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions