-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Signature of wrapper Connection constructor is not enforced #4511
Comments
A solution might be to have a static method for this, that way the LSP is enforced |
Ideally, I'd like to turn it into a composition similar to what we did with the portability layer. Each wrapper connector class by definition may have different dependencies injected via the constructor and the only way to do that now is to pass them via |
Note that Psalm has an annotation |
Thanks, @orklah. That's definitely a good way to document the shortcomings of the existing API. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Psalm on level 2:
The text was updated successfully, but these errors were encountered: