kitex-contrib / codec-dubbo

支持 kitex <-> dubbo 互通的 dubbo 协议编解码器。
Apache License 2.0
16 stars 14 forks source link

[P1] Support java.math.BigDecimal and java.math.BigInteger #76

Closed DMwangnima closed 6 months ago

DMwangnima commented 7 months ago

java.Object, java.Time and some basic java types are implemented by idl-ref way. These types are maintained in /java directory. These PRs are related implementations:

For now, we need to support java.math.BigDecimal and java.math.BigInteger. dubbo-go-hessian2 has supported encode/decode BigDecimal and BigInteger but it makes use of "github.com/dubbogo/gost/math/big".Decimal and Integer directly:

image

For supporting users with unified using experiences, we need to extend these two types in /java directory.

felix021 commented 7 months ago

Btw, please help fix the problem of overwriting idl-ref.yml each time kitex is executed.

DMwangnima commented 7 months ago

Overwriting idl-ref.yml has been resolved by https://github.com/cloudwego/kitex/pull/1227

DMwangnima commented 6 months ago

This has been solved by idl-ref functionality. Waiting for doc updating.