Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

OK, what do you do when a message comes in missing a field? Crash the server?


you reject the message in the framework? and if the client is aware it’s required they fail to send?

the bigger challenge with proto3 is that people use it both for rpc and storage, in some cases directly serializing rpc payloads. Disregarding how awful a choice that is, you likely want to trade off flexible deserialization of old data at the expense of rigidity, and conformance.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: