dubbo icon indicating copy to clipboard operation
dubbo copied to clipboard

[Cond optimization]Behavior of annotations and xml config should keep consistent

Open tswstarplanet opened this issue 7 years ago • 2 comments

I found some corresponding annotation and xml config have inconsistent behavior. What I mean is that some required properties in xml config are not required in comparable annotation configs. For example, the interface property is required in <dubbo:service /> config. But interfaceClass or interfaceName of @Service annotation is not required. I think it is not a good design. We should make them have consistent behavior because it can make processing of config clearer and simpler.

tswstarplanet avatar Jan 25 '19 18:01 tswstarplanet

The related issue : https://github.com/apache/incubator-dubbo-spring-boot-project/issues/382

mercyblitz avatar Jan 27 '19 10:01 mercyblitz

Fixed.

mercyblitz avatar Apr 21 '20 07:04 mercyblitz