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

GP was a bad example. You probably wouldn't have an RPC returning a simple type. It would instead return a message (aka a Go struct, or an object in JS) which has various fields (or even just a single field). Protobuf messages have built-in backwards compatibility as long as you don't change field numbers. That way you can incrementally change your messages without breaking older clients.


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

Search: