Skip to content

support autowire convenience clients #309

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

Merged
merged 1 commit into from
Jan 26, 2019
Merged

Conversation

dbu
Copy link
Collaborator

@dbu dbu commented Jan 24, 2019

this only happens for the "default" client: the first configured client or the one called default.

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Related tickets fixes #261
Documentation -
License MIT

What's in this PR?

Autowire the convenience clients

Why?

This is the expected behaviour. We only autowire them if the default client has the decorators to avoid unexpected random autowiring.

Checklist

  • Updated CHANGELOG.md to describe BC breaks / deprecations | new feature | bugfix

@dbu dbu force-pushed the autowiring-extra-clients branch from 39710ca to fb60333 Compare January 24, 2019 08:56
@dbu dbu requested a review from Nyholm January 25, 2019 11:04
Copy link
Member

@Nyholm Nyholm left a comment

Choose a reason for hiding this comment

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

Good. I like this. Just one issue.

https://3v4l.org/l1eaT

this only happens for the "default" client: the first configured client or the one called default.
@dbu dbu force-pushed the autowiring-extra-clients branch from fb60333 to 9863d3a Compare January 25, 2019 21:01
Copy link
Member

@Nyholm Nyholm left a comment

Choose a reason for hiding this comment

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

Thank you

@Nyholm Nyholm merged commit 8b7cb00 into master Jan 26, 2019
@xabbuh xabbuh deleted the autowiring-extra-clients branch January 26, 2019 10:54
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.

AutoWiring and HttpMethodsClient
2 participants