dubbo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adriancole (GitHub) <git...@apache.org>
Subject [GitHub] [incubator-dubbo-spring-boot-project] adriancole commented on issue #68: Infer dubbo configuration without classpath scanning
Date Mon, 10 Dec 2018 01:02:47 GMT
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

View raw message