Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Unified Diff: service/datastore/multiarg.go

Issue 2342063003: Differentiate between single- and multi- props. (Closed)
Patch Set: Slice is now always a clone. This is marginally worse performance, but a much safer UI. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « service/datastore/meta/eg_test.go ('k') | service/datastore/pls_impl.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: service/datastore/multiarg.go
diff --git a/service/datastore/multiarg.go b/service/datastore/multiarg.go
index 13bc3f02e74d2e294af0081402378dc5671bb69b..9e590b992c668a91a07ce4a0baed8719549a8785 100644
--- a/service/datastore/multiarg.go
+++ b/service/datastore/multiarg.go
@@ -289,7 +289,7 @@ type keyMGS struct {
}
func (mgs *keyMGS) GetAllMeta() PropertyMap {
- return PropertyMap{"$key": []Property{MkPropertyNI(mgs.slot.Interface())}}
+ return PropertyMap{"$key": MkPropertyNI(mgs.slot.Interface())}
}
func (mgs *keyMGS) GetMeta(key string) (interface{}, bool) {
« no previous file with comments | « service/datastore/meta/eg_test.go ('k') | service/datastore/pls_impl.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698