Skip to content
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

fix: beforeValidate previousValue argument #10022

Merged
merged 2 commits into from
Dec 17, 2024
Merged

Conversation

JarrodMFlesch
Copy link
Contributor

What?

previousValue was incorrect. It would always return the current value.

Why?

It was accessing siblingData instead of siblingDoc. Other hooks use siblingDoc, but this one was using siblingData.

@JarrodMFlesch JarrodMFlesch marked this pull request as ready for review December 17, 2024 17:08
@JarrodMFlesch JarrodMFlesch merged commit 99ca1ba into main Dec 17, 2024
70 checks passed
@JarrodMFlesch JarrodMFlesch deleted the fix/beforeValidate-args branch December 17, 2024 17:08
Copy link
Contributor

🚀 This is included in version v3.9.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant