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

Arbitatrary validation written in javascript #4

Open
mattyg opened this issue Nov 2, 2024 · 0 comments
Open

Arbitatrary validation written in javascript #4

mattyg opened this issue Nov 2, 2024 · 0 comments

Comments

@mattyg
Copy link
Collaborator

mattyg commented Nov 2, 2024

Expands on / alternative to #3

AC

  • I can create an entry EntryTypeValidation that includes:
    • name: String
    • 3 strings containing javascript functions for validate create, validate update, validate delete
  • Include a javascript interpreter in our Generic DNA
  • Validation serializes the rust types to json, passes them as inputs to the js functions and uses the response to return a validation result

Possible JS interpreters:

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

No branches or pull requests

1 participant