koajs / joi-router

Configurable, input and output validated routing for koa
MIT License
450 stars 96 forks source link

Exposed param to allow for parameter checking on the route level #45

Closed pixeldrew closed 6 years ago

pixeldrew commented 7 years ago

Adding this param so that you can do a check on the param at the router level rather than putting it into the routes list.

codecov[bot] commented 7 years ago

Codecov Report

Merging #45 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #45   +/-   ##
=======================================
  Coverage   99.59%   99.59%           
=======================================
  Files           3        3           
  Lines         248      248           
  Branches       50       50           
=======================================
  Hits          247      247           
  Misses          1        1
Impacted Files Coverage Δ
joi-router.js 99.4% <ø> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 98dae57...bc232d1. Read the comment docs.

aheckmann commented 6 years ago

merged in 87b467fc3bd7b627286849fa782d2feaa57780be