Skip to content

refactor(signal-forms): cleanup for api/logic & api/structure #62810

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

mmalerba
Copy link
Contributor

No description provided.

@mmalerba mmalerba requested review from leonsenft, kirjs and alxhub July 24, 2025 21:22
@mmalerba mmalerba added area: forms target: feature This PR is targeted for a feature branch (outside of main and semver branches) labels Jul 24, 2025
@ngbot ngbot bot added this to the Backlog milestone Jul 24, 2025
mmalerba and others added 6 commits July 25, 2025 19:55
In practice I found the ability to return false quite confusing.
It meant you could do `x && ValidationError.custom()`, but not
`x || ValidationError.custom()`. Making both of those work would mean
that returning `true` from `validate` vs returning `false` would mean
the exact same thing (no errors). That's also super odd, so I opted to
just remove `false` as a possibility.
Co-authored-by: michael-small <33669563+michael-small@users.noreply.github.com>
@mmalerba mmalerba force-pushed the review/api/logic-struct branch from 132e6ec to 7210c08 Compare July 25, 2025 20:21
@mmalerba mmalerba merged commit 21ca05d into angular:prototype/signal-forms Jul 25, 2025
10 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: forms target: feature This PR is targeted for a feature branch (outside of main and semver branches)
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants