Improve on validate_input and exports it#1713
Conversation
validate_input and exports it
…design_extraction@main Signed-off-by: André Veríssimo <211358+averissimo@users.noreply.github.com>
|
@gogonzo ready for review! Notable edge cases with serial validation. #...
# Serial
validate(need_input(...))
validate(need_input(...))
validate(need_input(...))
#...
# Parallel
validate(
need_input(...),
need_input(...),
need_input(...)
)Stale messages
Serial validation seems like the biggest bottle neck as the R code is not being run. So the strategy is to identify the affected via a fingerprint and apply changes only to errors that came from the same Fingerprint is calculated from the code in the arguments, not the arguments' value themselves. |
…design_extraction@main Signed-off-by: André Veríssimo <211358+averissimo@users.noreply.github.com>
…design_extraction@main Signed-off-by: André Veríssimo <211358+averissimo@users.noreply.github.com>
- shorten observed tree

Pull Request
Changes description
Allows for multiple validation usingaddparameter (instead of 1 by 1)Similar implementation tocheckmate::assert_***(..., add = collection)validate_inputfunctionExample app with some errors:
pickswith non-empty