DescriptionDecouple PLS from MGS.
Decouple PropertyLoadSaver from MetaGetterSetter. This allows
implementing structs to override either one of those interfaces without
depending on spooky the interaction between them implemented by
"structPLS".
"structPLS" no longer magic-detects if its type implements
MetaGetterSetter and defers to it. Instead, a struct that implements
MetaGetterSetter and wants to use "structPLS" cool meta defaults
can call GetPLS(this) to get a handle on that base functionality.
BUG=
Committed: https://github.com/luci/gae/commit/3932cd48f52a6fd2051c48c183cd3c0a17ae4913
Patch Set 1 #
Total comments: 5
Patch Set 2 : Add regression test for bug. #Patch Set 3 : Add test for basic struct extraction. #
Total comments: 2
Patch Set 4 : Add test for MGS that fails to export $kind. #
Total comments: 1
Patch Set 5 : Update dox w/ example. #
Total comments: 1
Patch Set 6 : Cleaner code for test. #
Total comments: 2
Patch Set 7 : Derp #
Messages
Total messages: 16 (4 generated)
|