@@ -17,21 +17,13 @@ Proto Processing Library's implementation of field masks diverges from the
1717AIP-161 standard in the following key ways. This table summarizes the
1818similarities/differences:
1919
20- | Feature | AIP-161 (Standard) | Library Implementation |
21- | :--------------- | :-------------------------- | :------------------------- |
22- | Repeated fields | Restricted except at path | No restriction, allowed on |
23- : : end : non-leaf nodes :
24- | Map keys | String or integer | String (escaped) |
25- | Wildcards | Supported for repeated | Supported |
26- : : fields/maps : :
27- | Struct traversal | Supported using '.' | Supported |
28- | Map traversal | Supported using '.', keys: | Supported (string/int |
29- : : string/int : keys), '.' insertion not :
30- : : : supported :
31- | Validation | Ignore invalid reads, error | Error on invalid field |
32- : : on writes : names :
33- | Update behavior | Read after masked update | Not supported |
34- : : returns same : :
35- | Intersection | Not explicitly mentioned | Supported, returns |
36- : : : intersection of two :
37- : : : FieldMask trees :
20+ | Feature | AIP-161 (Standard) | Library Implementation |
21+ | :--------------- | :-------------------------- | :------------------------- |
22+ | Repeated fields | Restricted except at path end | No restriction, allowed on non-leaf nodes |
23+ | Map keys | String or integer | String (escaped) |
24+ | Wildcards | Supported for repeated fields/maps | Supported |
25+ | Struct traversal | Supported using '.' | Supported |
26+ | Map traversal | Supported using '.', keys: string/int | Supported (string/int keys), '.' insertion not supported |
27+ | Validation | Ignore invalid reads, error on writes | Error on invalid field names |
28+ | Update behavior | Read after masked update returns same | Not supported |
29+ | Intersection | Not explicitly mentioned | Supported, returns intersection of two FieldMask trees |
0 commit comments