-
-
Notifications
You must be signed in to change notification settings - Fork 327
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
feature request: zod as schema validation #509
Comments
I think we could use a plugin to do that. Right now, we want Orama to stay dependency-free as much as possible. Do you have any particular API in mind? Can you share some pseudocode on how you'd like it to work? |
Happy to help and get this done. @naranyala can you help me with the expectations of what it shall help with vs what's currently missing? |
Implementing the standard-schema would be a great addition. This way, zod, valibot, arctype and anything that supports this schema will work. Docs:
@micheleriva the best part is that orama can still stay dependency-free (as per the README):
|
is it possible in the future that Orama Search supports zod as schema validation when initializing persistent data?
I hope we can explore more types of searchable data, which zod is one of the feature-rich libraries for validation
The text was updated successfully, but these errors were encountered: