Scout Wang
Scout Wang
New **Triple** is based on connect-go (https://github.com/connectrpc/connect-go) which makes use of Golang generic feature. For instance, client and server side code of unary invocation would be like this: ```go //...
**Why is this needed**: 这个issue由之前的提案(#2375)引出,拆分出client模块后,为了让NewClient可以完全与config.Load等价,还需要注入config.RootConfig和config.ConsumerConfig,以完成ReferenceConfig.Init流程。但config模块也会依赖client模块,这样就造成了循环依赖。根本原因在于config模块中的大部分配置都会直接感知上层配置,以client侧的Root->Consumer->Reference配置结构为例,ReferenceConfig.Init(rc *RootConfig)中会直接引用RootConfig和ConsumerConfig。 **What would you like to be added**: 为了达到上层模块依赖下层模块,下层模块感知不到上层模块的效果,考虑将ReferenceConfig.Init(rc *config.RootConfig)改成ReferenceConfig.Init(opts ...ReferenceOption),ConsumerConfig.Init在调用client.ReferenceConfig.Init时,将所需的配置都以client.ReferenOption数组的形式传入。以下是代码转变: ```go // old code func (cc *ConsumerConfig) Init(rc *RootConfig) error { // 省略 for...
### Environment - Server: Dubbo-go, v3.1.0 - Client: Dubbo-go, v3.1.0 - Protocol: Dubbo ### Issue description Provided Api EchoInt8: ```go type UserProvider struct { EchoInt8 func(ctx context.Context, req int8) (int8,...
#### What type of PR is this? #### Check the PR title. - [ ] This PR title match the format: \(optional scope): \ - [ ] The description of...
```Enum``` is represented as ```int64``` in thriftgo, and each enumeration is mapped to the corresponding string. idl: ``` enum KitexEnum { ONE TWO THREE } ``` generated code: ``` type...
#### What type of PR is this? feat #### Check the PR title. - [ ] This PR title match the format: \(optional scope): \ - [ ] The description...
## Description ## Motivation and Context ## Related Issue
## Description ## Motivation and Context ## Related Issue
#### What type of PR is this? feat #### Check the PR title. - [ ] This PR title match the format: \(optional scope): \ - [ ] The description...
#### What type of PR is this? feat #### Check the PR title. - [ ] This PR title match the format: \(optional scope): \ - [ ] The description...