-
-
Notifications
You must be signed in to change notification settings - Fork 247
fix(client-ofetch): add missing credentials property support #2710
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(client-ofetch): add missing credentials property support #2710
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: ba7e6dc 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 |
…tions Co-authored-by: mrlubos <12529395+mrlubos@users.noreply.github.com>
@copilot make sure to run |
Co-authored-by: mrlubos <12529395+mrlubos@users.noreply.github.com>
Removed unnecessary patch entries and added support for missing credentials property in client-ofetch.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2710 +/- ##
=======================================
Coverage 25.12% 25.13%
=======================================
Files 386 386
Lines 37351 37352 +1
Branches 1783 1783
=======================================
+ Hits 9385 9387 +2
+ Misses 27953 27952 -1
Partials 13 13
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:
|
commit: |
Summary
Fixed the missing
credentials
property support in the ofetch client by ensuring it's properly passed through to the underlying ofetch instance.Changes Made
buildOfetchOptions
to includecredentials: opts.credentials as OfetchOptions['credentials']
The change is minimal and maintains backward compatibility while enabling full credentials support as requested in issue #2699.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.