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

Allow usage of #[Target] attribute for the MongoDB client #15

Open
wants to merge 1 commit into
base: 0.3
Choose a base branch
from

Conversation

GromNaN
Copy link
Collaborator

@GromNaN GromNaN commented Apr 5, 2024

Suggested by @stof: the #[Target] attribute leverage the argument aliases to select a client instance.

It was introduced in Symfony 5.3: https://symfony.com/blog/new-in-symfony-5-3-service-autowiring-with-attributes

This makes the #[AutowireClient] attribute useless.

@GromNaN GromNaN added this to the 0.2 milestone Apr 5, 2024
@GromNaN GromNaN requested a review from alcaeus April 5, 2024 10:32
@GromNaN GromNaN removed this from the 0.2 milestone Apr 5, 2024
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.

1 participant