Closed michaelbausor closed 5 years ago
I'll fix it.
There is an ambiguity in FieldMask: both {} and {"path":""} (in text format) have the json representation of "". Because {"path":""} is actually an invalid FieldMask, we have decided the decoded result of "" should be {} (in text format).
An empty FieldMask is serialized to
""
, but this does not deserialize to an empty FieldMask object. This PHPUnit test fails: