forked from googleapis/google-api-go-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow users to nominate fields that should be included in requests to the server, regardless of field contents. This makes it possible to perform patch requests involving fields with emtpy values -- a common use case. This change will also enable immediate workarounds for APIs which expect values to be present for particular fields in update requests (such as those in googleapis#54). The custom JSON marshaling code introduced here is applicable to both update and patch payloads, and extends naturally to hierarchical schemas. Note: this change will result in non-deterministic ordering of fields in the JSON representation of schemas, due to the intermediate use of a map. Change-Id: I141cfabcbd500ca15b512cf17665344ba4a66887 Reviewed-on: https://code-review.googlesource.com/3386 Reviewed-by: Michael McGreevy <[email protected]>
- Loading branch information
Showing
149 changed files
with
59,181 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.