fix: pass error type generic to defineQueryOptions in @pinia/colada plugin#3483
Conversation
|
|
|
Error agent completed without reporting progress |
|
@lukaspodmelle is attempting to deploy a commit to the Hey API Team on Vercel. A member of the Team first needs to authorize it. |
🦋 Changeset detectedLatest commit: 8e5a578 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 |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3483 +/- ##
=======================================
Coverage 40.31% 40.31%
=======================================
Files 483 483
Lines 17560 17560
Branches 5317 5317
=======================================
Hits 7080 7080
Misses 8427 8427
Partials 2053 2053
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:
|

Summary
TError(andTData,TResponse) type generics todefineQueryOptionscalls in the @pinia/colada pluginUseMutationOptions<TResponse, TData, TError>, while queries defaulted toErrorDefault(Error)Closes #3482
Test plan
defineQueryOptions