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 negativeMin self-comparison to decimalMin in Jakarta/Javax validation #1130

Closed
wants to merge 1 commit into from

Conversation

Seol-JY
Copy link

@Seol-JY Seol-JY commented Dec 21, 2024

Summary

Fix incorrect self-comparison operation in JakartaValidationConstraintGenerator where negativeMin was being compared with itself instead of decimalMin.

Related issue: #1127

How Has This Been Tested?

Since Fixture Monkey implements two validation flows as mentioned in the issue discussion, we can be confident this fix won't affect existing behavior. While the second validation flow has been correctly handling the validation, this fix ensures the JakartaValidationConstraintGenerator (first flow) also works as intended.

Is the Document updated?

No documentation update is required as this is a bug fix for internal implementation.

@CLAassistant
Copy link

CLAassistant commented Dec 21, 2024

CLA assistant check
All committers have signed the CLA.

@Seol-JY Seol-JY closed this Dec 23, 2024
@Seol-JY Seol-JY deleted the fix/negative-min-comparison branch December 23, 2024 05:54
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