Repository navigation
External safeParse traces for transforms and error recovery #1722
PerchAnton
started this conversation in
Show and tell
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.
I prepared a small external Valibot adapter for interaction-check, a JSONL regression runner I maintain. The traces call safeParse/pipe and check trim/defaults, stripped unknown keys, integer errors and explicit false values without modifying the request.
Would this help as an optional reproducible example for Valibot users? It does not add a runtime dependency or cover async actions and schema generation.
Adapter · Three traces · External PR. Tested with valibot 1.5.0: 3 scenarios / 9 steps pass locally on macOS, Node 24.19.0.
From that checkout, with Python 3.10+ and Node 24.19.0:
npm --prefix adapters/javascript ci --ignore-scripts --no-audit --no-fund python interaction_check.py scenarios/valibot/*.json -- node adapters/javascript/main.mjs valibotAll reactions