nuxt / nuxt/bridge

From parameter in Middleware is always undefined

Open
#954 3 comments 1 reaction 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.