3 ms·
> never use type “string” for keys and values in protocol buffers. Always use “bytes”. What are "keys and values" with regard to protobuf? Surely you don't mea
by kodablah 6y ago
> never use type “string” for keys and values in protocol buffers. Always use “bytes”.
What are "keys and values" with regard to protobuf? Surely you don't mean maps as bytes can't be "keys" anyways. And why shouldn't you use string as a field type?
- atombender 6y agoI think they're referring to this app, which uses Protobuf strings to represent its keys and values.