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

Fix jpath implementation #20

Closed neonerd closed 8 years ago

neonerd commented 8 years ago

This properly implements jpath according to the existing documentation, while fixing the problem with properties being marked as not existing.

Tests for jpath are also altered to reflect the fact that jpath should only be used when the transFn flag is true.

coveralls commented 8 years ago

Coverage Status

Coverage increased (+0.3%) to 96.367% when pulling 2c36fb87a0561d380f8630bc2bfcbb1d3bf24002 on neonerd:fix-exists into 769039b6f9aeedc6f872b0b40ff923eb780e061c on RocksonZeta:master.

RocksonZeta commented 8 years ago

thanks