-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
datastore: implement structCodec using internal/fields
The changes to behavior can be seen in the modification of test cases in datastore_test.go. These changes are: - allow recursive structs - allow 'slice of slices' (this should have happened with entity values change) unless 'flatten' option is turned on - fall back to case-insensitivity for field names Additionally, this change introduces errors when an invalid struct field tag option is found. Change-Id: Id374b3a1ed8bb13d608af9fddd4537672669ca54 Reviewed-on: https://code-review.googlesource.com/9770 Reviewed-by: Jonathan Amsterdam <jba@google.com>
- Loading branch information
Sarah Adams
committed
Dec 9, 2016
1 parent
ee72afc
commit 1e032f3
Showing
6 changed files
with
156 additions
and
188 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
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
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.