Protocol Buffers Version 3 — Investigation
bennycode opened this issue · 1 comments
bennycode commented
It looks like we are using Protocol Buffers syntax version 2:
There is already a Protocol Buffers Version 3 Language Specification, so we might want to update our spec.
@basine, @deanrobertcook & @marcoconti83: Do you see any conflicts in updating to v3?
I guess we might need to change:
// syntax = "proto2";
option java_package = "com.waz.model";
Into:
package com.waz.model;
syntax = "proto3";
ffflorian commented
Interesting read regarding backwards compatibility: https://www.ben-morris.com/handling-protocol-buffers-backwards-compatibility-between-versions-2-and-3-using-c/