Skip to content

Version 1.0.23#1378

Merged
sinclairzx81 merged 6 commits into
mainfrom
error
Oct 1, 2025
Merged

Version 1.0.23#1378
sinclairzx81 merged 6 commits into
mainfrom
error

Conversation

@sinclairzx81
Copy link
Copy Markdown
Owner

This PR reverts changes to automatically remap TLocalizedValidationError to StandardSchemaV1.Issue through the StandardSchemaV1 interface.

This decision was made to prevent TypeBox generating two forms of error, and where there are currently ambiguous interpretations of the current path segments described in the Standard Schema specification. Other considerations relate to user defined errors via Type.Base (which do not mandate any particular structure and are for all intents and purposes opaque), along with technicalities regarding TypeBox being able to embed Standard Schema in Json Schema schematics.

This functionality may be re-investigated in future, but is removed as a protection measure to mitigate undue complexity entering TypeBox internals.

Relates: #1368

@sinclairzx81 sinclairzx81 merged commit dfed596 into main Oct 1, 2025
6 checks passed
@sinclairzx81 sinclairzx81 deleted the error branch October 1, 2025 12:56
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

Successfully merging this pull request may close these issues.

1 participant