grpc-ecosystem/grpc-gateway

Add Bytes and Enum handlers to `proto2ConvertFuncs`

Ouverte

#779 ouverte le 15 oct. 2018

 (12 commentaires) (0 réaction) (0 personne assignée)Go (2 250 forks)batch import
enhancementhelp wanted

Métriques du dépôt

Stars
 (16 971 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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?

Guide contributeur