Skip to content

feat(validator): add failing test for Validator::getErrorMessage#2195

Closed
NeoIsRecursive wants to merge 1 commit into
tempestphp:3.xfrom
NeoIsRecursive:feat/add-failing-validator-get-messages-test
Closed

feat(validator): add failing test for Validator::getErrorMessage#2195
NeoIsRecursive wants to merge 1 commit into
tempestphp:3.xfrom
NeoIsRecursive:feat/add-failing-validator-get-messages-test

Conversation

@NeoIsRecursive

Copy link
Copy Markdown
Contributor

Adds a failing test for the validation error message issue mentioned in #2194, and since I didnt find a more generic test for the translation keys, I added one for that too.

Can add a fix in here too, but im wondering if the HasErrorMessage interface is to be deprecated since it is not mentioned in the documentation?

Cheers! 😄

@innocenzi

Copy link
Copy Markdown
Member

I'm wondering if the HasErrorMessage interface is to be deprecated since it is not mentioned in the documentation?

No it's not, it's used internally and useful for custom rules for which the translator isn't needed, we should document that

Should we close this PR in favor of Màrk's?

@NeoIsRecursive

Copy link
Copy Markdown
Contributor Author

No it's not, it's used internally and useful for custom rules for which the translator isn't needed, we should document that

Ah, good! (mainly wanted to check before doing work).

Should we close this PR in favor of Màrk's?

Yes! His contains fixes and everything, much better

@NeoIsRecursive NeoIsRecursive deleted the feat/add-failing-validator-get-messages-test branch June 27, 2026 11:46
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