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

Add support connect style middleware #39

Merged
merged 2 commits into from
Oct 16, 2019

Conversation

hoangvvo
Copy link
Owner

With the release of my next-connect, it is now possible to use Connect-style middleware (function (req, res, next) {})

This PR attempts to have the deprecated default export to have this.

@codecov
Copy link

codecov bot commented Oct 16, 2019

Codecov Report

Merging #39 into master will decrease coverage by 0.03%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #39      +/-   ##
==========================================
- Coverage   94.11%   94.08%   -0.04%     
==========================================
  Files           6        6              
  Lines         187      186       -1     
==========================================
- Hits          176      175       -1     
  Misses         11       11
Impacted Files Coverage Δ
src/index.js 92.07% <100%> (-0.08%) ⬇️

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 ae0936f...dec757f. Read the comment docs.

@hoangvvo
Copy link
Owner Author

Code coverage will be hit. The PR to fix #38 will hopefully fix this.

@hoangvvo hoangvvo merged commit f93fb16 into master Oct 16, 2019
@hoangvvo hoangvvo deleted the support-connect-style-middleware branch October 16, 2019 12:56
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.

1 participant