hdk-assemblyscript
hdk-assemblyscript copied to clipboard
implement entry validator decorators
As of this core PR, validation will have a different API from proto: https://github.com/holochain/holochain-rust/pull/442
hdk-assemblyscript will need some kind of equivalent to the validations! macro being implemented for hdk-rust: https://github.com/holochain/hdk-rust/pull/15
For this, we proposed to use another function decorator, like @validate_function to simplify writing entry validation functions for developers
Willem mentioned: "I am still envisioning having classes tagged as @entryType and validate could be a class method."