grpc-ecosystem/grpc-gateway

Support using FieldMasks with GET requests

Offen

#698 geöffnet am 10.07.2018

 (10 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Go (2.250 Forks)batch import
enhancementhelp wanted

Repository-Metriken

Stars
 (16.971 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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.

Contributor Guide