Skip to content
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

Open
naranyala opened this issue Oct 6, 2023 · 2 comments
Open

feature request: zod as schema validation #509

naranyala opened this issue Oct 6, 2023 · 2 comments

Comments

@naranyala
Copy link

naranyala commented Oct 6, 2023

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

@micheleriva
Copy link
Member

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?

@rishi-raj-jain
Copy link
Contributor

rishi-raj-jain commented Nov 6, 2023

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?

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

No branches or pull requests

3 participants