feat(forms): support signal-based schemas in validateStandardSchema#66871
Open
SkyZeroZx wants to merge 1 commit intoangular:mainfrom
Open
feat(forms): support signal-based schemas in validateStandardSchema#66871SkyZeroZx wants to merge 1 commit intoangular:mainfrom
SkyZeroZx wants to merge 1 commit intoangular:mainfrom
Conversation
0b02460 to
3736178
Compare
mmalerba
approved these changes
Feb 3, 2026
Contributor
mmalerba
left a comment
There was a problem hiding this comment.
reviewed-for: public-api
3736178 to
d54f153
Compare
Member
|
Caretaker note: there is nothing to presubmit, the standard schema file isn't sync on G3. #66904 should fix the underlying issue. |
Contributor
|
While technically a feature, our merge infrastructure doesn't allow features in patches. Can you please change the commit message to |
Allow `validateStandardSchema()` to consume a computed schema so validation rules stay in sync when the schema changes over time. This supports schemas stored in computed signals (e.g. zod schemas that depend on input signals) and ensures the effective schema updates after initialization instead of being captured once. Fixes angular#66867
d54f153 to
b98f687
Compare
Contributor
Author
Done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Allow
validateStandardSchema()to consume a computed schema so validation rules stay in sync when the schema changes over time.This supports schemas stored in computed signals (e.g. zod schemas that depend on input signals) and ensures the effective schema updates after initialization instead of being captured once.
Fixes #66867