Skip to content

Preflight WCIF saves#85

Draft
coder13 wants to merge 1 commit into
mainfrom
codex/wcif-check-endpoint
Draft

Preflight WCIF saves#85
coder13 wants to merge 1 commit into
mainfrom
codex/wcif-check-endpoint

Conversation

@coder13

@coder13 coder13 commented Jul 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • validate the complete WCIF through the WCA /wcif/check endpoint before saving
  • retain the existing partial WCIF PATCH after validation succeeds
  • show WCA API error details in the save notification

Why

WCA will enforce strict schema validation for WCIF PATCH requests. Preflighting the complete document prevents an invalid update from reaching PATCH and gives delegates the server's actionable error message.

Validation

  • yarn test (368 passing)
  • yarn check:type
  • yarn lint (existing warnings only)
  • yarn build

Validate the complete WCIF with the WCA check endpoint before PATCHing changed fields, and surface API error details to delegates.
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