grpc-ecosystem/grpc-gateway

Support using FieldMasks with GET requests

Open

#698 创建于 2018年7月10日

在 GitHub 查看
 (10 评论) (0 反应) (0 负责人)Go (16,971 star) (2,250 fork)batch import
enhancementhelp wanted

描述

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.

贡献者指南