RocksonZeta / koa-validate

validate koa request params and format request params
https://github.com/RocksonZeta/koa-validate
MIT License
284 stars 32 forks source link

`len(min, max)` always got error `the checked field's length equal or great than the min.` #8

Closed JiangJie closed 9 years ago

JiangJie commented 9 years ago

When the checked field's length is greater than the max length, it will cause the same error the checked field's length equal or great than the min which should be the checked field's length equal or small than the max.

RocksonZeta commented 9 years ago

'len(min,max)' tips error,I fixed it in 0.2.11. thanks.