When schema is chaning witout backward compatibility, it is obvious that error is raised. and it could be catastrophic. If it specify minimum version, maximum version that server or client could understand, Nirum RPC could be more fault-tolerant system.
Since nirum schema has its version on package.toml, both RPC server and client could specify its version easily.
Nope 😢 Compiler gives metadata like __nirum_version__. But nirum runtime dosen't check metadata. It has to be done after modify nirum python runtime.
When schema is chaning witout backward compatibility, it is obvious that error is raised. and it could be catastrophic. If it specify minimum version, maximum version that server or client could understand, Nirum RPC could be more fault-tolerant system.
Since nirum schema has its version on
package.toml
, both RPC server and client could specify its version easily.