WarUI

Field allowlist

GRID-A05-F07P0baselinePlanned

Only fields declared in the query schema can appear in an AST, and each field is flagged separately for sortable, filterable and groupable use. Undeclared or internal columns therefore cannot be probed through crafted queries.

Planned. This page shows the specification from issue #182. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

An employee grid in which 'salary' is visible but filterable=false and 'ssn' is not declared at all.

Expected behavior

The salary filter UI is disabled. A pasted AST that filters on salary or references 'ssn' is rejected with error codes FIELD_NOT_FILTERABLE and FIELD_UNKNOWN, each with a node path.

Planned API surface

querySchemafieldssortablefilterablegroupableaggregatableQueryValidationError

Acceptance criteria

  • Validation fails closed on any field not present in the schema (pending)
  • Each capability flag is enforced independently (pending)
  • Error messages never echo values from undeclared fields (pending)
  • Field names are compared exactly, with no case folding unless the schema opts in (pending)