Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement entry validator decorators #14

Open
Connoropolous opened this issue Oct 8, 2018 · 1 comment
Open

implement entry validator decorators #14

Connoropolous opened this issue Oct 8, 2018 · 1 comment
Projects

Comments

@Connoropolous
Copy link
Collaborator

As of this core PR, validation will have a different API from proto: holochain/holochain-rust#442

hdk-assemblyscript will need some kind of equivalent to the validations! macro being implemented for hdk-rust: holochain/hdk-rust#15

For this, we proposed to use another function decorator, like @validate_function to simplify writing entry validation functions for developers

@Connoropolous Connoropolous added this to To do in by DevCamp? Oct 13, 2018
@Connoropolous
Copy link
Collaborator Author

Willem mentioned:
"I am still envisioning having classes tagged as @entryType and validate could be a class method."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
by DevCamp?
  
To do
Development

No branches or pull requests

1 participant