status-im / pluto

https://status-im.github.io/pluto/
12 stars 3 forks source link

Improve event arguments validation #76

Open jeluard opened 6 years ago

jeluard commented 6 years ago

Events get called with data injected from event caller. Extra data should be considered while validating the event arguments correctness.

e.g. this example is valid as on-change will inject the required value property needed by store/put

[input {:on-change [store/put {:key "input"}]}]