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

@RedisClientName can't be applied to parameters #12898

Closed
xtaixe opened this issue Oct 23, 2020 · 4 comments · Fixed by #12902
Closed

@RedisClientName can't be applied to parameters #12898

xtaixe opened this issue Oct 23, 2020 · 4 comments · Fixed by #12902
Assignees
Labels
area/redis kind/bug Something isn't working
Milestone

Comments

@xtaixe
Copy link

xtaixe commented Oct 23, 2020

@RedisClientName can't be applied to parameters and thus named redis clients can't be injected to constructors or producer methods.

@xtaixe xtaixe added the kind/bug Something isn't working label Oct 23, 2020
@quarkusbot
Copy link

/cc @machi1990, @gsmet, @cescoffier

@machi1990
Copy link
Member

Upon a quick check I realized that it might be the case for the Mongo client too

@Target({ ElementType.TYPE, ElementType.METHOD, ElementType.FIELD })

/cc @geoand @loicmathieu @cescoffier

machi1990 added a commit to machi1990/quarkus that referenced this issue Oct 23, 2020
@loicmathieu
Copy link
Contributor

@machi1990 would you provide a fix, or @geoand ?
If not, can you open an issue for MongoDB ?

@machi1990
Copy link
Member

@machi1990 would you provide a fix, or @geoand ?
If not, can you open an issue for MongoDB ?

Working on a fix.

machi1990 added a commit to machi1990/quarkus that referenced this issue Oct 23, 2020
@gsmet gsmet added this to the 1.10 - master milestone Oct 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/redis kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants