Skip to content

fix(validator): improve validateObject and validateValueForProperty methods#2130

Open
tux-eithel wants to merge 1 commit into
tempestphp:3.xfrom
tux-eithel:fix/improve-validateObject
Open

fix(validator): improve validateObject and validateValueForProperty methods#2130
tux-eithel wants to merge 1 commit into
tempestphp:3.xfrom
tux-eithel:fix/improve-validateObject

Conversation

@tux-eithel
Copy link
Copy Markdown

@tux-eithel tux-eithel commented May 16, 2026

Fix #2131.

I added several assertions for the exception.
Let me know if they're okay, or should be moved in a specific test inside tests/Integration/Validator.

@tux-eithel tux-eithel closed this May 16, 2026
@tux-eithel tux-eithel deleted the fix/improve-validateObject branch May 16, 2026 18:02
@tux-eithel tux-eithel restored the fix/improve-validateObject branch May 16, 2026 18:04
@tux-eithel tux-eithel reopened this May 16, 2026
@tux-eithel tux-eithel changed the title Fix: improve validateObject and validateValueForProperty methods fix(validator): improve validateObject and validateValueForProperty methods May 16, 2026
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.

Validator throw a ValidationFailed exception when validateObject is used even if object is valid

1 participant