content-collections icon indicating copy to clipboard operation
content-collections copied to clipboard

[Feature Request] Standard Schema

Open thejackshelton opened this issue 9 months ago • 3 comments

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

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

thejackshelton avatar Mar 25 '25 23:03 thejackshelton

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 avatar Apr 22 '25 19:04 sdorra

@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.

sdorra avatar May 13 '25 18:05 sdorra

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).

thejackshelton avatar May 14 '25 14:05 thejackshelton