这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@brolnickij
Copy link
Contributor

close #2592

@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@changeset-bot
Copy link

changeset-bot bot commented Sep 4, 2025

🦋 Changeset detected

Latest commit: 9bcf2a8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@hey-api/openapi-ts Patch

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

@vercel
Copy link

vercel bot commented Sep 4, 2025

@brolnickij is attempting to deploy a commit to the Hey API Team on Vercel.

A member of the Team first needs to authorize it.

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. bug 🔥 Something isn't working labels Sep 4, 2025
@pkg-pr-new
Copy link

pkg-pr-new bot commented Sep 4, 2025

Open in StackBlitz

npm i https://pkg.pr.new/hey-api/openapi-ts/@hey-api/codegen-core@2593
npm i https://pkg.pr.new/hey-api/openapi-ts/@hey-api/nuxt@2593
npm i https://pkg.pr.new/hey-api/openapi-ts/@hey-api/openapi-ts@2593
npm i https://pkg.pr.new/hey-api/openapi-ts/@hey-api/vite-plugin@2593

commit: 9bcf2a8

@codecov
Copy link

codecov bot commented Sep 4, 2025

Codecov Report

❌ Patch coverage is 33.33333% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 23.59%. Comparing base (8b8c368) to head (9bcf2a8).
⚠️ Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
...pi-ts/src/plugins/@pinia/colada/mutationOptions.ts 33.33% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2593   +/-   ##
=======================================
  Coverage   23.59%   23.59%           
=======================================
  Files         363      363           
  Lines       36549    36545    -4     
  Branches     1562     1562           
=======================================
  Hits         8622     8622           
+ Misses      27914    27910    -4     
  Partials       13       13           
Flag Coverage Δ
unittests 23.59% <33.33%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Member

@mrlubos mrlubos left a comment

Choose a reason for hiding this comment

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

Thanks! Is the same logic used for TanStack Query?

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Sep 4, 2025
@mrlubos mrlubos merged commit 62cff55 into hey-api:main Sep 4, 2025
12 of 13 checks passed
@hey-api hey-api bot mentioned this pull request Sep 4, 2025
@brolnickij
Copy link
Contributor Author

@mrlubos yep, @tanstack/* plugins has same logic

parameters: [
{
isRequired: false,
name: 'options',
type: `Partial<${typeData}>`,
},
],

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug 🔥 Something isn't working lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

@pinia/colada: make options optional for all mutations

2 participants