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

Multiple definitions for single field #22

Open
mariusrak opened this issue Jan 16, 2025 · 2 comments
Open

Multiple definitions for single field #22

mariusrak opened this issue Jan 16, 2025 · 2 comments

Comments

@mariusrak
Copy link

Hi, it's great that you created schema validator with API similar to simplschema which is so much faster, I would really love to use it but it's missing one feature that is crucial for us and that is defining multiple types for single field. In simplschema it is achieved by method oneOf(), Would it be possible to introduce same mechanism to this package? Thanks.

@sebakerckhof
Copy link
Owner

Hi, I don't use this package myself anymore so won't be making any future changes to it. However, I would accept a PR for this feature.

@mariusrak
Copy link
Author

Did you find some better package? Would you at least, please provide some guidance on how this feature could be implemented? Thanks.

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

2 participants