Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
gabetax
on Jan 30, 2020
|
parent
|
context
|
favorite
| on:
Jepsen: Etcd 3.4.3
You can implement emptiness with the wrapper message types, e.g. StringValue:
https://github.com/protocolbuffers/protobuf/blob/master/src/...
and sometimes defining your own, e.g. nullable lists.
It's not elegant, but it is simple.
m0zg
on Jan 31, 2020
[–]
But the point is, proto2 had this feature, and it worked without any hacks.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
and sometimes defining your own, e.g. nullable lists.
It's not elegant, but it is simple.