AshTypescript. Manifest. Verifiers. VerifyTypedQueryFields
(ash_typescript v0.18.0)
Copy Markdown
View Source
Verifies that every typed query's fields selection references valid, public fields
on its resource.
Reads typed_queries from the persisted rpc_configs and routes each one through
RequestedFieldsProcessor.process/3 — the same machinery that handles field
selection at runtime. The result is that compile-time validation and runtime
parsing share one source of truth: if the verifier passes, the typed query is
callable; if it fails, the field selection is structurally wrong.
Missing or non-public referenced actions are reported by
AshTypescript.Manifest.Verifiers.VerifyRpc; we skip them here to avoid
duplicating that diagnostic against the same root cause.