arb / celebrate

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

Update format + exposes Segments #140

Closed arb closed 4 years ago

arb commented 4 years ago

Closes #139

Change the arguments to format() to accomodate both sync and async validations. Also exposed Segments enum to help consumers and docs.

codecov-io commented 4 years ago

Codecov Report

Merging #140 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #140   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           1      1           
  Lines          65     64    -1     
  Branches       11     11           
=====================================
- Hits           65     64    -1
Impacted Files Coverage Δ
lib/index.js 100% <100%> (ø) :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 2eadb92...c3b8ffc. Read the comment docs.

Meemaw commented 4 years ago

Any timeline for releasing this?

arb commented 4 years ago

@Meemaw - If you need any of these changes, feel free to point your package.json to master on GitHub. I work on this in my free time so it'll be released when I have time to release it.