We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Almost every Zod schema has .passthrough(), which feels very unusual.
Among other downsides, this breaks type safety by allowing arbitrary properties.
Just wondering what's the rationale for it?
The text was updated successfully, but these errors were encountered:
I am advocating to remove .passthrough() from all Zod shapes.
.passthrough()
Happy to contribute a PR.
Among increasing type safety, this would also simplify types (see related issue #119)
Sorry, something went wrong.
Merge pull request modelcontextprotocol#182 from leoshimo/leoshimo/18…
498c02b
…1-sampling-dark-mode fix: add dark mode support to SamplingTab JSON display (modelcontextprotocol#181)
No branches or pull requests
Almost every Zod schema has .passthrough(), which feels very unusual.
Among other downsides, this breaks type safety by allowing arbitrary properties.
Just wondering what's the rationale for it?
The text was updated successfully, but these errors were encountered: