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

Register resolving method in register instead of boot #41

Merged
merged 1 commit into from
Jul 27, 2017

Conversation

barryvdh
Copy link
Contributor

Otherwise this can lead to timing issues, where another ServiceProvider resolves the binding, before the resolving callback is registered. See barryvdh/laravel-debugbar#682 for example.
//cc @fredlahde

@fredlahde
Copy link

Tried this PR, and it solves the linked issue.

@themsaid
Copy link
Member

@jbrooksuk does it solve your issue?

@jbrooksuk
Copy link
Member

It looks like it should to be honest. I've not had chance to test yet.

@barryvdh
Copy link
Contributor Author

@jbrooksuk Were you using debugbar?

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.

None yet

5 participants