WarUI

Server validation error mapping

GRID-A15-F18P0baselinePlanned

Map field and row errors returned by the server, including RFC 9457 problem details and ModelState-style dictionaries, onto cells and the summary. Server-only rules then surface exactly like client rules.

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

Live example

Grid plus a mock response editor.

Expected behavior

After save, the mapped errors appear with the source 'server'. Editing the field clears its server error when the toggle is on. Unmappable errors go to grid scope.

Planned API surface

serverErrorMapperapplyServerErrors()clearServerErrors()ValidationError.source

Acceptance criteria

  • Built-in mappers exist for the two documented formats. (pending)
  • Field paths support row id plus field, as well as index forms. (pending)
  • Server errors are distinguishable via source. (pending)
  • Unmappable entries are never dropped. (pending)