arb / celebrate

A joi validation middleware for Express.
MIT License
1.33k stars 66 forks source link

Closes #219 #220

Closed arb closed 3 years ago

arb commented 3 years ago

Adds additional message value to the options argument to errors(). Also, changed the default message value of CelebrateError to 'Validation failed'.

codecov-commenter commented 3 years ago

Codecov Report

Merging #220 (ed764ad) into master (957eb22) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #220   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines            4         4           
=========================================
  Hits             4         4           

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 957eb22...ed764ad. Read the comment docs.