-
Notifications
You must be signed in to change notification settings - Fork 146
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
Deprecation messages for created service #60
Comments
Yo @TacoV! Can you post a bit more code? Specifically, it looks like you're autowiring the To support autowiring, what we need to do is create a service alias for each client (unless you, for some reason, have 2 clients with the same type... which really shouldn't happen). For example, we need an alias from And we also need an alias from Finally, we should update the docs to assume that autowiring is being used. Any volunteers? :) |
Thanks, I found it! I previously (as in, before this bundle came out) tried to hook up the league client by myself. One legacy method still had some code pointing directly to this client... |
Awesome! Thank you for the update! I'm actually going to re-open this issue, because we do still need to add some aliases to make autowiring easier. But, you've at least clarified the issue :). We only need to: A) Add aliases for each configured client class (e.g. B) An alias from Cheers! |
If the syntax of #62 is correct, I'll copy-paste it to include all other current services (A) and likewise add the registry alias (B). |
Hey @TacoV look like point B was already done, look at here: https://github.com/knpuniversity/oauth2-client-bundle/blob/master/src/Resources/config/services.xml#L18L21 |
With the following basic config:
The following deprecation messages arise:
The text was updated successfully, but these errors were encountered: