serviceconfig: support specifying default service config using a native go struct
Open
Area: Client
P3
Type: Feature
- Dominant language
- Go
- Stars
- 23.1k
- Forks
- 4.8k
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 43
Description
### Use case(s) - what problem will this feature solve?
It seems WithBalancerName is deprecated in https://github.com/grpc/grpc-go/pull/2900 in favor of WithDefaultServiceConfig. WithDefaultServiceConfig accepts only raw JSON, so if we want to use specific balancer statically, we need to use JSON to specify that.
### Proposed Solution
Please keep WithBalancerName as is, or another way to specify the configurations instead of using JSON.
### Alternatives Considered
### Additional Context
Contributor guide
Assessment
This issue has not been assessed yet.