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

Don't check joi alternative for "is" #1

Open
onufriievkyrylo opened this issue Sep 3, 2019 · 1 comment
Open

Don't check joi alternative for "is" #1

onufriievkyrylo opened this issue Sep 3, 2019 · 1 comment

Comments

@onufriievkyrylo
Copy link

We shouldn't be forced to use "is" in schemas because we could use schema based condition with our alternatives statement so please remove behavior with throwing error when (!match.is)

@benrei
Copy link
Owner

benrei commented Sep 3, 2019

This package uses the 'joi-to-json-schema' to convert the Joi schemas. It is in that package the 'throw error when (!match.is)' is located.
I see there's already an open issue. I will update the dependency when it's fixed.

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