Skip to content

infer new context in middlewares - #818

Closed
KATT wants to merge 3 commits into
mainfrom
feature/infer-ctx
Closed

KATT wants to merge 3 commits into
mainfrom
feature/infer-ctx

Conversation

@KATT

@KATT KATT commented Aug 22, 2021

Copy link
Copy Markdown
Member
  • attempt to have a new middleware type that can infer the context - called middlewareSwapContext here
  • managed to get the inference working (ish) with the simpler swapContext one
  • ideally i'd just have middleware and if one would call next({ctx}) it'd be inferred (kinda where I'm going with middlewareSwapContext

I probably won't spend much more time on this as it's kinda a nice to have and has some other side effects, but if someone wants to pick it up and have a stab at it, please have a go

requested by @mmkal in #810 (comment)

@KATT KATT added πŸ™‹β€β™‚οΈ help wanted Extra attention is needed πŸ‘» invalid Invalid bug report 🚧 wip work in progress labels Aug 22, 2021
@vercel

vercel Bot commented Aug 22, 2021

Copy link
Copy Markdown

@KATT
KATT requested a review from mmkal September 9, 2021 00:24
@mmkal

mmkal commented Sep 9, 2021

Copy link
Copy Markdown
Contributor

@KATT I have this mostly working on my local branch - ok if I push it tomorrow?

@mmkal mmkal mentioned this pull request Sep 9, 2021
@KATT

KATT commented Sep 9, 2021

Copy link
Copy Markdown
Member Author

Replaced by #915

@KATT KATT closed this Sep 9, 2021
@KATT
KATT deleted the feature/infer-ctx branch September 9, 2021 12:04
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Oct 10, 2022

This branch was successfully deployed

2 active deployments
Preview – todomvc β€” 6b94c1bf Deployed Aug 22, 2021 by vercel[bot]
Preview – www β€” 6b94c1bf Deployed Aug 22, 2021 by vercel[bot]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

πŸ™‹β€β™‚οΈ help wanted Extra attention is needed πŸ‘» invalid Invalid bug report 🚧 wip work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants