grpc-ecosystem/grpc-gateway

Support using FieldMasks with GET requests

Ouverte

#698 ouverte le 10 juil. 2018

 (10 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
 (Merge moyen 8j 23h) (147 PRs mergées en 30 j)

Description

Some GET requests (e. g. search) benefit greatly from being able to distinguish between default (e. g. 0) and non-defined values, since searching by "name='John' && age = 0" is not the same as "name='John' && age = undefined". Since FieldMasks are a generally recommended approach for optional fields in gRPC, it would be super helpful if grpc-gateway would support that.

Guide contributeur