CAICAIIs opened a new pull request, #3175:
URL: https://github.com/apache/dubbo-go/pull/3175
## Summary
Add `JavaBeanDescriptor` support to enable dubbo-go to call Java Dubbo
services configured with `generic=bean` serialization mode.
## Background
Java Dubbo supports `generic=bean` serialization, which uses
`JavaBeanDescriptor` to describe objects. Previously, dubbo-go could not handle
this mode, causing failures when calling Java services with `generic=bean`
configuration.
## Changes
New Files
| File | Description |
|------|-------------|
| `filter/generic/generalizer/bean.go` | Core implementation of
`JavaBeanDescriptor` and `BeanGeneralizer` |
| `filter/generic/generalizer/bean_test.go` | Comprehensive unit tests |
Modified Files
| File | Description |
|------|-------------|
| `common/constant/key.go` | Add `GenericSerializationBean = "bean"`
constant |
| `filter/generic/util.go` | Integrate bean into `isGeneric()` and
`getGeneralizer()` |
| `filter/generic/util_test.go` | Add test cases for bean serialization |
### Description
Related to #3167
### Checklist
- [x] I confirm the target branch is `develop`
- [x] Code has passed local testing
- [x] I have added tests that prove my fix is effective or that my feature
works
--
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]