Medium
Sep 15, 2021
Summary
This post details the practical application of Protobuf FieldMask for API mutation design at Netflix, specifically for update and remove operations. It explains how FieldMasks enable atomic updates of multiple fields and selective removal of fields within a single RPC, thereby simplifying API maintenance and preventing endpoint proliferation. The post also discusses the implications of empty or missing FieldMasks and schema evolution challenges.