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

[9.x] Unset Connection Resolver extended callback #41216

Merged
merged 3 commits into from
Feb 24, 2022
Merged

[9.x] Unset Connection Resolver extended callback #41216

merged 3 commits into from
Feb 24, 2022

Conversation

emrancu
Copy link
Contributor

@emrancu emrancu commented Feb 24, 2022

Unset Connection Resolver extended callback. Specially for Octane with multitenancy application.

By default, there is a method called 'extend' in DatabaseManager class for passing connection resolver to override default connection resolver. But there is no way to unset/remove callback to rollback to default connection resolver.

Can be used:
app('db').forgetExtend($name)

@driesvints driesvints changed the title Unset Connection Resolver extended callback [9.x] Unset Connection Resolver extended callback Feb 24, 2022
@taylorotwell taylorotwell merged commit c7fefb7 into laravel:9.x Feb 24, 2022
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.

4 participants