You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "adriancole (GitHub)" <gi...@apache.org> on 2018/12/10 01:02:47 UTC

[GitHub] [incubator-dubbo-spring-boot-project] adriancole commented on issue #68: Infer dubbo configuration without classpath scanning

I think requiring scanning of `@Service` is still too loose.

For example, in normal web-mvc I can have a `@RestController` annotation on two different spring boot applications in the same package and they will not load eachother's endpoints. package-based scanning is unnecessarily loose and will cause other types in the same package to accidentally load eachother.

`@Reference` not being scanned is good, but as I understand it only solves clients. So, we are still stuck scanning for services!

[ Full content available at: https://github.com/apache/incubator-dubbo-spring-boot-project/issues/68 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org