grpc-ecosystem/grpc-gateway

Add Bytes and Enum handlers to `proto2ConvertFuncs`

Aperta

#779 aperta il 15 ott 2018

 (12 commenti) (0 reazioni) (0 assegnatari)Go (2250 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (16.971 stelle)
Metriche merge PR
 (Merge medio 8g 23h) (147 PR mergiate in 30 g)

Descrizione

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?

Guida contributor