Skip to content

standard-schema error#87

Merged
mmkal merged 4 commits intomainfrom
standard-schema-error
May 18, 2025
Merged

standard-schema error#87
mmkal merged 4 commits intomainfrom
standard-schema-error

Conversation

@mmkal
Copy link
Copy Markdown
Owner

@mmkal mmkal commented May 15, 2025

Copy/paste and minor modification of my own implementation on an issue in standard-schema: standard-schema/standard-schema#84 (comment)

which is a copy/paste and minor modification of zod v4's prettifyError which almost works as is for any standard-schema error.

I thought about making a library but since standard-schema is so copy/paste friendly and averse to changes of any kind, and also because formatting is pretty subjective, I think this is better.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 15, 2025

Open in StackBlitz

npm i https://pkg.pr.new/mmkal/trpc-cli@87

commit: b163365

@mmkal mmkal marked this pull request as ready for review May 16, 2025 18:30
@mmkal mmkal merged commit 3b8919c into main May 18, 2025
5 checks passed
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