Skip to content

Validate proposal data on update endpoint#611

Open
valentin0h wants to merge 1 commit intovalidate-proposal--against-schemafrom
validate-proposal-on-update
Open

Validate proposal data on update endpoint#611
valentin0h wants to merge 1 commit intovalidate-proposal--against-schemafrom
validate-proposal-on-update

Conversation

@valentin0h
Copy link
Collaborator

@valentin0h valentin0h commented Feb 16, 2026

Following #604, now updating the update proposal handler to validate against the schema.

@vercel
Copy link
Contributor

vercel bot commented Feb 16, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
app Ready Ready Preview Feb 16, 2026 8:18pm

Request Review

Extract validateProposalAgainstTemplate to DRY up the collab-doc-aware
validation logic shared by submitProposal and updateProposal. The update
endpoint now uses resolveProposalTemplate (checking both instanceData and
processSchema) instead of only reading processSchema directly.
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