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 opened issue #322: Don't require EnableDubbo when your application is already annotated with Service
Date Mon, 10 Dec 2018 01:25:08 GMT
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 {
```



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


Mime
View raw message