Skip to content

Conversation

@jamis
Copy link
Contributor

@jamis jamis commented Oct 14, 2024

(Backporting #5881 from master to 9.0-stable.)

Changes made for MONGOID-5704 introduced a regression that caused associated validations to stop after the first failure, rather than validating all associated records. This PR corrects the regression by fixing the short-circuited evaluation that was introduced in that earlier PR.

…ongodb#5881)

It was previously stopping at the first failed validation.
@jamis jamis requested a review from comandeo-mongo October 14, 2024 21:38
@jamis jamis merged commit 560ce66 into mongodb:9.0-stable Oct 21, 2024
61 checks passed
@jamis jamis deleted the 5757-validations-9.0 branch October 21, 2024 17:20
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.

2 participants