Hacker News new | ask | show | jobs
by tantalor 720 days ago
RPC/proto is for transport.

Required/validation is for application.

1 comments

If that's true, why have types in proto at all? Shouldn't everything be an "any" type at the transport layer, and the application can validate the types are correct?
Different types can and do use different encodings