Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Middleware return early #113

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Middleware return early #113

wants to merge 1 commit into from

Conversation

anthhub
Copy link

@anthhub anthhub commented Mar 23, 2021

I want to add an 'end()' function to provide an option, it's able to backtrack previous middleware for early return.

@codecov
Copy link

codecov bot commented Mar 23, 2021

Codecov Report

Merging #113 (00f1528) into master (25568a3) will not change coverage.
The diff coverage is 100.00%.

❗ Current head 00f1528 differs from pull request most recent head 8157e53. Consider uploading reports for the commit 8157e53 to get more accurate results
Impacted file tree graph

@@            Coverage Diff            @@
##            master      #113   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           15        19    +4     
  Branches         5         6    +1     
=========================================
+ Hits            15        19    +4     
Impacted Files Coverage Δ
index.js 100.00% <100.00%> (ø)

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 25568a3...8157e53. Read the comment docs.

@jonathanong
Copy link
Member

why?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants