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

Why isn't spring-cloud-netflix using AutoConfigurationPackages as an input for component scan ? #2053

Open
G-Lem opened this issue Jun 16, 2017 · 1 comment

Comments

@G-Lem
Copy link

G-Lem commented Jun 16, 2017

I was hoping to create an spring boot starter having an AutoConfiguration annotated with @EnableFeignClients and naively hoping it would scan automatically packages in my application for @FeignClient annotated classes. While investigating I read a lot of spring-boot/spring-cloud source to understand how these components work/are implemented and found out that spring-cloud was just not using auto configuration packages.

Is there any reason why spring-cloud isn't making use of AutoConfigurationPackages ? Could it be possible to have it implemented ? Thanks for your feedback.

@spencergibb
Copy link
Member

I didn't know about AutoConfigurationPackages :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants