Repository navigation
fix(node): accept connect-style middleware in fetchNodeHandler and toFetchHandler, and make the round trip work
#310
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
Open
nitedani
wants to merge
22
commits into
h3js:main
Choose a base branch
from
nitedani:fix/fetch-node-handler-middleware-type
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+401
−45
Open
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
ea0c938
fix(types): accept connect-style middleware in `fetchNodeHandler` and…
nitedani 65dfeab
fix(node): pass `next` to middleware round-tripped through `toNodeHan…
nitedani b750698
fix(node): forward the caller's `next` to round-tripped middleware
nitedani 3cbf4a9
fix(node): return the middleware's promise from the round-tripped han…
nitedani 223e6ee
fix(node): keep a round-tripped error handler an error handler
nitedani 61c9878
fix(node): say what the round-tripped middleware's fallback `next` co…
nitedani 53c0b67
refactor(node): name the round-tripped middleware wrapper
nitedani 2cae6c1
Merge remote-tracking branch 'origin/main' into fix/fetch-node-handle…
nitedani 1ac13e8
fix(node): keep the round-tripped middleware's name
nitedani 46f6be1
fix(node): answer 404 when round-tripped middleware calls `next()` on…
nitedani b61c0a5
fix(node): answer the error's status when round-tripped middleware ca…
nitedani 730f076
fix(node): return a round-tripped connect or Express app as is
nitedani 7713c7d
Merge main into fix/fetch-node-handler-middleware-type
nitedani-agent 49088a8
fix(node): wrap an Express router like other middleware
nitedani-agent 103b0ac
fix(node): return a three-argument middleware's response once its hea…
nitedani-agent 27d6aa6
fix(node): release the synthetic request when a middleware fails
nitedani-agent cad3659
fix(node): close the synthetic request when a middleware fails after …
nitedani-agent 8ae6919
fix(node): fail the body when a middleware throws after its head
nitedani-agent 2625c14
fix(node): return an Express app's streaming response once its head i…
nitedani-agent cf3ae45
fix(node): keep the Transfer-Encoding guards in an Express app
nitedani-agent b276ef2
Merge remote-tracking branch 'upstream/main' into fix/fetch-node-hand…
nitedani f6c5f84
fix(node): run an Express app's own `setHeader` and `writeHead`
nitedani File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.