icodening opened a new pull request #9691:
URL: https://github.com/apache/dubbo/pull/9691
## What is the purpose of the change
fix #9690
修复接口级自定义元数据没有被暴露的问题
## Brief changelog
修改了两处.
1. ServiceConfig
2. ReferenceConfig
两者的改动一致,均是在构造服务URL对象之前,将需要暴露的元数据填充
## Verifying this change
ServiceConfig<DemoServiceImpl> service = new ServiceConfig<>();
service.getServiceMetadata().addAttachment("my-metadata", "99999");
使用service.getServiceMetadata().addAttachment后可以将一些用户自定义的元数据字段正常暴露
<img width="846" alt="image"
src="https://user-images.githubusercontent.com/42876375/154313746-76187502-33da-4b13-bfb8-1da25cad17c8.png">
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]