Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dubbo 2.6.2版本中@Service注解的parameters配置BUG #3072

Closed
gMan1990 opened this issue Dec 27, 2018 · 3 comments
Closed

dubbo 2.6.2版本中@Service注解的parameters配置BUG #3072

gMan1990 opened this issue Dec 27, 2018 · 3 comments

Comments

@gMan1990
Copy link

gMan1990 commented Dec 27, 2018

网文,不是我的: https://blog.csdn.net/xiao_jun_0820/article/details/81218440
我测过2.6.3, 2.6.5也是同样问题,其它新版本不知道

@lexburner
Copy link
Contributor

@gMan1990

  1. 使用 parameter 配置 dubbo 的接口行为,有点 hack 的味道,自然不是 dubbo 推荐的行为,并不能认为是 dubbo 的 bug.
  2. 目前注解的配置能力的确不如 xml 那么完备,后续应该会有支持。

可以的话,欢迎你的 pr 来完善方法级别的注解配置。

@beiwei30 beiwei30 self-assigned this Feb 2, 2019
@beiwei30 beiwei30 added this to To do in Developer Experience Improvement via automation Feb 2, 2019
@GitFree
Copy link

GitFree commented Jul 30, 2020

2.6.x的最新2.6.9版本依旧有此问题

@pinxiong
Copy link
Member

pinxiong commented Jun 7, 2021

I have checked the Dubbo version both 2.7.x and 2.6.x, because this issue was raised a year ago.

In Dubbo 2.7.x, there is no such problem, because the DubboService#parameters was parsed in ServiceClassPostProcessor. Also, I have added some testcases, see #8001

However, I have found this issue was still existed in Dubbo 2.6.x, I have fixed it and added some testcases, see #8002

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

6 participants