nirum-lang / nirum

Nirum: IDL compiler and RPC/distributed object framework for microservices
https://nirum.org/
GNU General Public License v3.0
121 stars 27 forks source link

Specify version of nirum schema on both RPC server and client #112

Open kanghyojun opened 7 years ago

kanghyojun commented 7 years ago

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.

AiOO commented 7 years ago

@admire93 @yjroot: Is this issue complete?

kanghyojun commented 7 years ago

Nope 😢 Compiler gives metadata like __nirum_version__. But nirum runtime dosen't check metadata. It has to be done after modify nirum python runtime.