Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fix(runtime): registerEndpoint not working with custom fetch#1403

Merged
danielroe merged 1 commit intonuxt:mainnuxt/test-utils:mainfrom
MikeBellika:fix-onrequest-failingMikeBellika/test-utils:fix-onrequest-failingCopy head branch name to clipboard
Sep 6, 2025
Merged

fix(runtime): registerEndpoint not working with custom fetch#1403
danielroe merged 1 commit intonuxt:mainnuxt/test-utils:mainfrom
MikeBellika:fix-onrequest-failingMikeBellika/test-utils:fix-onrequest-failingCopy head branch name to clipboard

Conversation

@MikeBellika
Copy link
Copy Markdown
Contributor

🔗 Linked issue

Resolves #1402

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

Fixes a bug when using $fetch.create with an onRequest interceptor.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Sep 5, 2025

Open in StackBlitz

npm i https://pkg.pr.new/@nuxt/test-utils@1403

commit: ed0ecb0

Copy link
Copy Markdown
Member

@danielroe danielroe left a comment

Choose a reason for hiding this comment

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

thank you ❤️

@danielroe danielroe merged commit e03e1c0 into nuxt:main Sep 6, 2025
6 checks passed
@github-actions github-actions Bot mentioned this pull request Sep 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adding an onRequest interceptor to ofetch instance causes registerEndpoint to not be reached

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.