|
|
|
|
|
by naasking
2364 days ago
|
|
> Except it also breaks backwards compatibility, one of the most powerful and sought-after features of protobufs. It doesn't have to. Just add row types to handle unknown content, ie. if an intermediary knows only of fields foo and bar, then they can process any data with such fields if given a type like "type SomeRecord = { foo : int, bar : string | r }", where 'r' represents the remainder of the record. The article's criticisms are valid and there are typed solutions to most of the objections that have been raised against it. |
|