Skip to content

[Feature Request] Standard Schema #528

New issue

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

Open
thejackshelton opened this issue Mar 25, 2025 · 3 comments · May be fixed by #570
Open

[Feature Request] Standard Schema #528

thejackshelton opened this issue Mar 25, 2025 · 3 comments · May be fixed by #570
Assignees
Labels
breaking change A change which breaks the current api enhancement New feature or request

Comments

@thejackshelton
Copy link

https://github.com/standard-schema/standard-schema

would it be possible to implement standard schema and support different projects like valibot or arktype?

@sdorra sdorra added the enhancement New feature or request label Apr 22, 2025
@sdorra
Copy link
Owner

sdorra commented Apr 22, 2025

I believe it is possible, but finding the right balance between flexibility and simplicity is challenging. We need to ensure that we have a good API and comprehensive documentation to support it.

Supporting a standard schema is a breaking change.

@sdorra sdorra added the breaking change A change which breaks the current api label Apr 22, 2025
@sdorra sdorra self-assigned this May 13, 2025
sdorra added a commit that referenced this issue May 13, 2025
Use every StandardSchema compliant library for validation.

Closes: #528
@sdorra sdorra linked a pull request May 13, 2025 that will close this issue
11 tasks
@sdorra
Copy link
Owner

sdorra commented May 13, 2025

@thejackshelton I created a first working version, but I really need help testing the new syntax and ensuring that the old one does not break.

@thejackshelton
Copy link
Author

thejackshelton commented May 14, 2025

Hey Sebastian, this is awesome!

Once I get the MDX integration for Qwik and content collections in a good enough state I have more bandwidth to test.

I've been in the process of porting mdx-bundler, as there is no way to integrate with vite based tools in reality, and the current maintenance of the package does not intend to support agnostic tools (despite the readme).

sdorra added a commit that referenced this issue May 16, 2025
Use every StandardSchema compliant library for validation.

Closes: #528
sdorra added a commit that referenced this issue May 17, 2025
Explain the use of Standard Schema in the configuration.
Add a page that describes the migration process.
sdorra added a commit that referenced this issue May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change A change which breaks the current api enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants