grpc-ecosystem/grpc-gateway

Add Bytes and Enum handlers to `proto2ConvertFuncs`

开放

#779 创建于 2018年10月15日

 (12 条评论) (0 个反应) (0 位负责人)Go (2,250 个派生)batch import
enhancementhelp wanted

仓库指标

星标
 (16,971 个星标)
PR 合并指标
 (平均合并 8天 23小时) (30 天内合并 147 个 PR)

描述

Due to backward compatibility issue, I am forced to use proto2. I am not sure if my clients can keep on using proto2 and I can move to proto3. Also it is recommended to keep using proto2 as proto3 doesn't have many new features.

So, if I am supposed to use proto2 only, is there a workaround for it given bytes_type and enums are not supported?

贡献者指南