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

Client filter by annotation #2280

Merged
merged 24 commits into from
Dec 20, 2019
Merged

Client filter by annotation #2280

merged 24 commits into from
Dec 20, 2019

Conversation

jameskleeh
Copy link
Contributor

No description provided.

*/
public HttpClientFilterResolver(
@Parameter @Nullable Collection<String> clientIdentifiers,
@Parameter @Nullable AnnotationValue annotationValue,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There might be multiple filters with customer stereotype annotations. Taking into account we are passing information about just one annotation into resolver, is it correct to assume Micronaut will not support a case when multiple client annotations are applied on a client?

For example with a current implementation apparently it won't be possible to do something like
@Metered @OauthClientCredentials @Client() SomeClient client, correct?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@svishnyakoff Currently that is correct. If you'd like to create a separate issue for the enhancement of the feature that would be OK

@graemerocher
Copy link
Contributor

Could you resolve the conflicts?

@graemerocher graemerocher added this to the 1.3.0.M2 milestone Nov 22, 2019
@graemerocher graemerocher merged commit 7c079c6 into master Dec 20, 2019
@ilopmar ilopmar deleted the pr-2216 branch January 22, 2020 09:07
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.

3 participants