Chromium Code Reviews
DescriptionChange models.py to use typed class members instead of a list of strings.
This strongly reduces the mismatch when deserializing and surprises that ensue
when a new member is added and is improperly initialized to None without warning.
This basically reproduces the same overall idea that protobuf/django/appengine
implements for serializable data but in a *much* lighter weight implementation.
R=csharp@chromium.org
BUG=
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=169359
Patch Set 1 #Patch Set 2 : More doc, minor fixes #
Total comments: 12
Patch Set 3 : Address review comments #
Messages
Total messages: 7 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||