AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
How to Write Protobuf Schemas?
I am 100% in the camp of you should use protobuf. You should not use anything else. Protobuf is not just for GRPC, but really you can use it as a message envelope as well. I would just say avoid JSON. That's like if you do not want to have conflicts, that is how you avoid them. And all the same patterns that apply to writing good types and so on and how to deprecate them and so on for like when you're writing a GRPC service,. Same exact thing applies to these schemas as well.