Skip to content

feat(validation): add structured field validation#39

Merged
v-byte-cpu merged 1 commit into
mainfrom
feat/structured-field-validation
Jun 7, 2026
Merged

feat(validation): add structured field validation#39
v-byte-cpu merged 1 commit into
mainfrom
feat/structured-field-validation

Conversation

@v-byte-cpu

Copy link
Copy Markdown
Member

Why

Validation errors need stable machine-readable facts so API, mock, Tauri, and UI surfaces can map failures
to localized fields instead of carrying backend display strings.

What Changed

  • Replace validation error payloads with issues[] across the OpenAPI contract, Rust DomainError,
    generated API types, mock runtime, and UI error mapping.
  • Add React Hook Form/Zod validation and localized field messages to editor and settings surfaces.
  • Add mock API behavior/profile sidecars and update react-vite-structure guidance for i18n, error
    handling, and forms.

Replace validation fieldErrors/message payloads with path-based validation
issues across the OpenAPI contract, Rust domain errors, mock API runtime,
and UI error mapping.

validation DomainError payloads now use issues[] with
path/code/params instead of message plus fieldErrors.

Add React Hook Form/Zod validation and localized field messages to editor
and settings surfaces, with skill guidance for the form, i18n, and error
patterns.
@v-byte-cpu v-byte-cpu merged commit 8db64b4 into main Jun 7, 2026
4 checks passed
@v-byte-cpu v-byte-cpu deleted the feat/structured-field-validation branch June 7, 2026 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant