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

Enter/exit hooks #5

Open
thomaswilburn opened this issue Jul 14, 2023 · 0 comments
Open

Enter/exit hooks #5

thomaswilburn opened this issue Jul 14, 2023 · 0 comments

Comments

@thomaswilburn
Copy link
Collaborator

Was just thinking about this today re: a conversation about making AML safer in a mixed-skill newsroom environment, and these would be easy hooks to add--one with the keypath when the assembler adds an object or array to the tree, and another when it pops that branch off the stack. Especially in the latter case, when we exit the object, that's an ideal time to do validation of the item as a whole (checking for missing keys, validating user input, adding computed values).

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