grpc-ecosystem/grpc-gateway

Add Bytes and Enum handlers to `proto2ConvertFuncs`

Open

#779 opened on Oct 15, 2018

View on GitHub
 (12 comments) (0 reactions) (0 assignees)Go (2,250 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (16,971 stars)
PR merge metrics
 (Avg merge 8d 23h) (147 merged PRs in 30d)

Description

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?

Contributor guide