dubbo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] adriancole opened a new issue #322: Don't require EnableDubbo when your application is already annotated with Service
Date Mon, 10 Dec 2018 01:25:08 GMT
adriancole opened a new issue #322: Don't require EnableDubbo when your application is already
annotated with Service
URL: https://github.com/apache/incubator-dubbo-spring-boot-project/issues/322
 
 
   Goal of autoconfiguration is least work of user. In the other plugin, it can detect if
it needs to start dubbo or not if there is an annotation. This starter requires me to redundantly
add an annotation. I want dubbo to feel just as easy as other frameworks, and least work possible.
   
   Please change so instead of this:
   ```java
   @EnableAutoConfiguration
   @EnableDubbo
   @Service(interfaceClass = Api.class)
   public class Backend implements Api {
   ```
   
   I can skip the `@EnableDubbo` like this:
   ```java
   @EnableAutoConfiguration
   @Service(interfaceClass = Api.class)
   public class Backend implements Api {
   ```
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Mime
View raw message