fix(client-nuxt): preserve AbortSignal, FormData, and ReadableStream in unwrapRefs#3614
fix(client-nuxt): preserve AbortSignal, FormData, and ReadableStream in unwrapRefs#3614
Conversation
|
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: 129afa0 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
…hrough in unwrapRefs Co-authored-by: mrlubos <12529395+mrlubos@users.noreply.github.com>
|
Error agent completed without reporting progress |
@hey-api/codegen-core
@hey-api/json-schema-ref-parser
@hey-api/nuxt
@hey-api/openapi-ts
@hey-api/shared
@hey-api/types
@hey-api/vite-plugin
commit: |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3614 +/- ##
==========================================
+ Coverage 39.07% 39.08% +0.01%
==========================================
Files 495 495
Lines 18450 18454 +4
Branches 5479 5477 -2
==========================================
+ Hits 7209 7213 +4
Misses 9073 9073
Partials 2168 2168
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|

unwrapRefsonly special-casedBlobandHeaders, causing browser built-ins likeAbortSignalto fall through to the object-iteration path and get copied into a plain{}. This broke TanStack Vue Query integration — thesignalinjected byqueryFnwas silently destroyed before reachingfetch, resulting in aTypeError.Changes
bundle/utils.ts: Extend the pass-through guard to coverAbortSignal,FormData, andReadableStream__tests__/utils.test.ts: Add test cases asserting identity preservation forAbortSignal(standalone and nested in object),FormData, andReadableStreamclient-nuxtandsse-nuxtvariantsOriginal prompt
📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.