3 ms·
OK, will do. I assumed it was obvious that schemas on both ends must match.
by apankrat 7y ago
OK, will do. I assumed it was obvious that schemas on both ends must match.
- quietbritishjim 7y agoI would assume it's obvious that schemas on the two ends don't need to match because solving that problem is usually a basic requirement of a serialisation library. Of course they need to be compatible in some way though e.g. in protobuf, don't reuse old field numbers.
- apankrat 7y agoDepends on the project. Lots of cases when there's no need for schema versioning. For example, when two processes need to talk to each other and they both run from the same binary or share the exact same datamodel. Even if they aren't run from the same binary, it's often much simpler to just require both sides to use the same protocol revision.