We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
i try to validate multiple uri in a string that separate by comma( , )
,
I found a very similar pr
so i expect uri({multiple : true}) but it does not exist.
uri({multiple : true})
There may be other solutions but I think this is a pretty consistent feature considering email({ multiple : true }).
email({ multiple : true }).
joi.string().uri() joi.string().uri({ multiple: true, })
The text was updated successfully, but these errors were encountered:
IMHO email made sense because there are standards that take multiple emails this way, can you mention a standard taking multiple uris?
Sorry, something went wrong.
Thank you for your reply 😃
definitely the idea of seperating uri with comma is a terrible thing
instead of comma, RFC 3986 recommends some ways to delimiting uri in context in appendix-C.
No branches or pull requests
What problem are you trying to solve?
i try to validate multiple uri in a string that separate by comma(
,
)I found a very similar pr
so i expect
uri({multiple : true})
but it does not exist.There may be other solutions but I think this is a pretty consistent feature considering
email({ multiple : true }).
Do you have a new or modified API suggestion to solve the problem?
The text was updated successfully, but these errors were encountered: