Closed BierDav closed 1 month ago
Run & review this pull request in StackBlitz Codeflow.
Latest commit: 80632ad5e658840a662c668a25313db59afb2e00
The changes in this PR will be included in the next version bump.
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
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
hey-api-docs | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 10, 2024 1:28pm |
Deployment failed with the following error:
The provided GitHub repository does not contain the requested branch or commit reference. Please ensure the repository is not empty.
Attention: Patch coverage is 8.33333%
with 11 lines
in your changes missing coverage. Please review.
Project coverage is 80.53%. Comparing base (
39d83e2
) to head (80632ad
). Report is 6 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
...napi-ts/src/plugins/@tanstack/query-core/plugin.ts | 8.33% | 11 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
pnpm add https://pkg.pr.new/@hey-api/client-axios@1137
pnpm add https://pkg.pr.new/@hey-api/client-fetch@1137
pnpm add https://pkg.pr.new/@hey-api/openapi-ts@1137
commit: 80632ad
Use case:
You have one class let's call it
ApiMutatations
that calls all thecreateMutation
s once and stores it in a variable for later use. But you don't want to mess around with the default api, because when you usesolid-js
for example it's a lot more clean to use Contexts instead of global variables which might not have been configured (interceptors attached) already.In our
ApiMutations
class we want to ensure that the correctClient
is preconfigured, unfortunately until now, this was impossible. This small change covers this use case.