Skip to content

wip - proper middlewares - #88

Closed
KATT wants to merge 13 commits into
mainfrom
feature/prehook-middleware
Closed

KATT wants to merge 13 commits into
mainfrom
feature/prehook-middleware

Conversation

@KATT

@KATT KATT commented Feb 18, 2021

Copy link
Copy Markdown
Member

No description provided.

@KATT KATT mentioned this pull request Feb 18, 2021
const route: Route<TContext> = target[opts.path as any];
const { ctx } = opts;
for (const fn of route._preHooks ?? []) {
for (const fn of route._middlewares ?? []) {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here we'd need to do something like

for await (const middleware of route._middlewares) {

}

Base automatically changed from feature/preHook to main February 19, 2021 04:57
@KATT KATT closed this Feb 19, 2021
@KATT
KATT deleted the feature/prehook-middleware branch February 19, 2021 06:07
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Oct 13, 2022

This branch was successfully deployed

3 active deployments
Preview – chat — 2e11b9cb Deployed Feb 18, 2021 by vercel[bot]
Preview – www — 2e11b9cb Deployed Feb 18, 2021 by vercel[bot]
Preview – hello-world — 2e11b9cb Deployed Feb 18, 2021 by vercel[bot]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant