-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
feat: Validation::run() accepts DB connection #8188
Conversation
Remove on run() $dbGroup ?string because it can allow group array connections, not only dgGroup Name.
This is a breaking change. |
For this PR to be merged, it is necessary to have at least the following:
If you have any question, feel free to ask. |
I see nothing wrong with the intention of this PR, and I don't really find it to be a BC break, since it's opening up new capabilities not restricting. As mentioned, we would need tests added and the interface would also need to be updated. @ciadavid Are you able to tackle this? If not, we'll go ahead and close this. |
how can I write a test?
|
@lonnieezell The intention of this PR is not wrong. Therefore we don't accept this change in |
@ciadavid Have you ever written test code? This is the test class for Database Related Rules Test: |
@ciadavid This PR must go to |
I sent another PR #8499 |
Closed by #8499 |
Description
See #6723
Remove on run() $dbGroup ?string because it can allow group array connections, not only dgGroup Name.
Checklist: