kitex-contrib / codec-dubbo

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

Proposal: support float32 #53

Closed felix021 closed 9 months ago

felix021 commented 10 months ago

float32 is not officially supported in Thrift, but it's a valid type in Hessian2 Codec.

To support float32, we have to extend thriftgo (with -thrift float32 flag) for generating float32 structs (only for struct fields, no need to implement the encoding/decoding of float32 for thrift).

After that, we can add float32 support in codec-dubbo.