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

convert joi schema into string format? #3

Open
futurist opened this issue Feb 17, 2017 · 1 comment
Open

convert joi schema into string format? #3

futurist opened this issue Feb 17, 2017 · 1 comment
Milestone

Comments

@futurist
Copy link

lib.stringify( joi.string().min(1).max(60).trim().required() )
// 'string:min=1,max=60,required'

Could provide above methods? or similar?

Thank you!

@richardhyatt
Copy link
Contributor

Would be a nice feature to add

@richardhyatt richardhyatt added this to the Future milestone Feb 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants