Commit Graph
5 Commits
Author SHA1 Message Date
Danny Weinberg 28a288924f Change to have parse *always* set serialized_on_wire 2020-06-04 16:20:32 -07:00
Danny Weinberg 5c700618fd Black again lol 2020-06-04 13:42:43 -07:00
Danny Weinberg a914306f33 Put test into test_features, simplify to call parse directly 2020-06-04 13:42:07 -07:00
Danny Weinberg 67422db6b9 Fix formatting 2020-06-04 11:34:20 -07:00
Danny Weinberg 061bf86a9c Set serialized_on_wire when message contains only lists
This fixes a bug where serialized_on_wire was not set when a message contained only repeated values (eg in a list or map). The fix here is to just set it to true in the `parse` method as soon as we receive any valid data. This also adds a test to expose the behavior.
2020-06-04 11:04:36 -07:00