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

Extendable format constraints? #539

Closed
vicary opened this issue Oct 26, 2018 · 2 comments
Closed

Extendable format constraints? #539

vicary opened this issue Oct 26, 2018 · 2 comments

Comments

@vicary
Copy link

vicary commented Oct 26, 2018

I am currently hitting the l10n area in tel format, we want to extend the validation from a US-only REGEXP to multiple countries base on the country code provided.

Is there a way we can plug a specific format without disabling everything with Constraint::CHECK_MODE_DISABLE_FORMAT?

@DannyvdSluijs
Copy link
Collaborator

@vicary in an attempt to cleanup this repo we are trying to filter the issues and see which ones might be closed. Is it safe to assume this is a rather old issue, which sadly was left unanswered, and can be closed? Feel free to close it yourself with some comments if helpful.

@vicary
Copy link
Author

vicary commented Feb 9, 2024

@DannyvdSluijs thanks for replying, we had since moved on to other solutions such as zod and joi.

Wish JSON Schema a bright future and hopefully we may use it again some day.

@vicary vicary closed this as not planned Won't fix, can't repro, duplicate, stale Feb 9, 2024
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