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

Make parameters having an optional type possible to be omitted #205

Closed dahlia closed 6 years ago

dahlia commented 6 years ago

It's not for convenience but better backward compatibility. It makes adding new parameters to existing methods compatible to its previous signature.

dahlia commented 6 years ago

See also PR #165.

kanghyojun commented 6 years ago

it is not related with #165 . In this issue we make optional parameters can be omitted. so that it dosen't raise error if it dosen't given when we call method of RPC service.

so we have to fix https://github.com/spoqa/nirum-python-wsgi ! :-(