Validate multiple outputs using 'check_types' #1412
Unanswered
fimselamse
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Currently, I am only able to validate multiple outputs using
check_io:However, this seems like a misuse of
check_io, as I'm not checking for input. Instead, I would expectcheck_typesto handle multiple outputs:Additionally, it seems
check_ioonly lazy-checks one output at a time before failing, instead of checking them all before returning the errors.The obvious workaround is to split the function into three, although this would create some redundancy if they share logic.
All reactions