Skip to content

Conversation

@eye-gu
Copy link
Contributor

@eye-gu eye-gu commented Feb 26, 2025

close #5943

Make sure that:

  • You have read the contribution guidelines.
  • You submit test cases (unit or integration tests) that back your changes.
  • Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.

for (MethodConfig methodConfig : serviceBean.getMethods()) {
DubboRpcMethodExt methodExt = new DubboRpcMethodExt();
methodExt.setName(methodConfig.getName());
methodExt.setLoadbalance(methodConfig.getLoadbalance());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is not be null?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The configuration of the method inherits from the interface. If it is null, the configuration of the interface will be used. So setting default values when null is not a good idea

@yu199195 yu199195 merged commit 8fc09d7 into apache:master Feb 27, 2025
44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] dubbo method config not implemented correctly

2 participants