grpc-ecosystem/grpc-gateway
View on GitHubSupport using FieldMasks with GET requests
Open
#698 opened on Jul 10, 2018
enhancementhelp wanted
Repository metrics
- Stars
- (16,971 stars)
- PR merge metrics
- (Avg merge 8d 23h) (147 merged PRs in 30d)
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.