From parameter in Middleware is always undefined
Open
Nobody has claimed this yet.
workaround available
- Dominant language
- TypeScript
- Stars
- 285
- Forks
- 33
- Avg merge
- 22h 38m
- Merged PRs (30d)
- 3
Description
Environment
Build Modules: nuxt/bridge@3.0.0-rc.2-28307913.ff6077a
Reproduction
https://stackblitz.com/edit/github-dwx287-ydqqtk?file=package.json
Describe the bug
Related to https://github.com/nuxt/bridge/issues/942, now Middleware is working, but from parameter always appear undefined.
Additional context
No response
Logs
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked StackBlitz reproduction and compare the middleware behavior described in related issue #942. Trace how the from parameter is passed to middleware and verify the fix against the reproduction, ensuring it is no longer undefined.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nuxt, typescript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100