You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
authored
feat(standard-validator): Add flattenErrors utility to @hono/standard-validator (#2050)
* fear(standard-validator): Add sortErrors utility
Co-authored-by: stebeus <189894010+stebeus@users.noreply.github.com>
* feat(standard-validator): add test cases for sortErrors
* chore(standard-validator): add arktype test for sortErrors & format directory
* chore(standard-validator): changeset add
* refactor(standard-validator): make user ArkType schema idiomatic
It's verbose to do a one-to-one translation of a Zod/Valibot schema to
ArkType, on which hints that ArkType is used differently from other
validators.
* feat(standard-validator): reject invalid keys for the user ArkType schema
* test(standard-validator): fix `sortErrors` assertions
* rename `sortErrors` to `flattenErrors`
* typeof key !== 'undefined'
* Forgot to update changeset
* ci: apply automated fixes
---------
Co-authored-by: stebeus <189894010+stebeus@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
0 commit comments