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

[10.x] Allow closure based rules to push messages to nested (or other… #42934

Conversation

nshiro
Copy link
Contributor

@nshiro nshiro commented Jun 24, 2022

This PR allows closure based rules to push messages to nested (or other) attributes.
This is almost copy and paste from Tim's PR. #42801

I also removed a test method which asserts expectException because the translate method of PotentiallyTranslatedString class does not throw RuntimeException any more when there's no translation key. #42873

@timacdonald
Copy link
Member

Thanks @nshiro. This was on my todo list and you beat me to it ❤️

@nshiro
Copy link
Contributor Author

nshiro commented Jun 24, 2022

Thanks always. @timacdonald
You're on fire.❤️🔥

@taylorotwell taylorotwell merged commit 04e23dc into laravel:master Jun 24, 2022
@nshiro nshiro deleted the allow_closure_rules_to_push_messages_to_nested branch June 25, 2022 00:50
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.

3 participants