Skip to content

Commit

Permalink
Merge pull request jquense#41 from kievechua/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
jquense committed Apr 14, 2016
2 parents 10d9546 + 86f1235 commit 475ef69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ by [Joi](https://github.com/hapijs/joi), which is an amazing library but is gene
to package for use in a browser. Yup is a leaner in the same spirit without some of the fancy features.
You can use it on the server as well, but in that case you might as well just use Joi.

Yup is also a a good bit less opinionated than joi, allowing for custom transformations and async validation.
Yup is also a good bit less opinionated than joi, allowing for custom transformations and async validation.
It also allows "stacking" conditions via `when` for properties that depend on more than one other sibling or
child property. Yup separates the parsing and validating functions into separate steps so it can be used to parse
json separate from validating it, via the `cast` method.
Expand Down

0 comments on commit 475ef69

Please sign in to comment.