We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When we edit users, we want to be able to do partial edits and not wipe out fields inadvertantly.
gRPC3 assumes PUT or full edits, as they serialize default values for any fields in a message that aren't explicitly set (edited). You can read about this here: https://developers.google.com/protocol-buffers/docs/proto3#default
This makes it harder for us to be explicit with what we want to set. We could filter out default values when updating data, but that's not great, as sometimes, we actually want to set a value to 0 in an edit. The solution to this a gRPC FieldMask, which is a string that expresses which fields we want to set https://developers.google.com/protocol-buffers/docs/reference/csharp/class/google/protobuf/well-known-types/field-mask
So to achieve this:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When we edit users, we want to be able to do partial edits and not wipe out fields inadvertantly.
gRPC3 assumes PUT or full edits, as they serialize default values for any fields in a message that aren't explicitly set (edited). You can read about this here: https://developers.google.com/protocol-buffers/docs/proto3#default
This makes it harder for us to be explicit with what we want to set. We could filter out default values when updating data, but that's not great, as sometimes, we actually want to set a value to 0 in an edit.
The solution to this a gRPC FieldMask, which is a string that expresses which fields we want to set
https://developers.google.com/protocol-buffers/docs/reference/csharp/class/google/protobuf/well-known-types/field-mask
So to achieve this:
The text was updated successfully, but these errors were encountered: