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

Conversation

@bjornhenriksson
Copy link
Contributor

Adds the local option to z.datetime in accordance with the docs on https://zod.dev/api?id=iso-datetimes.
Enabling serialization/validation of datetimes without trailing "Z".

Thanks for a great lib and a great initiative! ⭐ @mrlubos

@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 Aug 18, 2025

🦋 Changeset detected

Latest commit: 219b034

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 Aug 18, 2025

@bjornhenriksson 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. feature 🚀 New feature or request labels Aug 18, 2025
@pkg-pr-new
Copy link

pkg-pr-new bot commented Aug 18, 2025

Open in StackBlitz

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

commit: 219b034

@codecov
Copy link

codecov bot commented Aug 18, 2025

Codecov Report

❌ Patch coverage is 0% with 46 lines in your changes missing coverage. Please review.
✅ Project coverage is 22.58%. Comparing base (15575ed) to head (219b034).
⚠️ Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
packages/openapi-ts/src/plugins/zod/mini/plugin.ts 0.00% 15 Missing ⚠️
packages/openapi-ts/src/plugins/zod/v3/plugin.ts 0.00% 15 Missing ⚠️
packages/openapi-ts/src/plugins/zod/v4/plugin.ts 0.00% 15 Missing ⚠️
packages/openapi-ts/src/plugins/zod/config.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2467      +/-   ##
==========================================
- Coverage   22.59%   22.58%   -0.01%     
==========================================
  Files         337      337              
  Lines       33388    33398      +10     
  Branches     1309     1309              
==========================================
  Hits         7543     7543              
- Misses      25836    25846      +10     
  Partials        9        9              
Flag Coverage Δ
unittests 22.58% <0.00%> (-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.

Thank you for the pull request!

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Aug 18, 2025
@mrlubos mrlubos merged commit 6505e6e into hey-api:main Aug 18, 2025
10 of 13 checks passed
@github-actions github-actions bot mentioned this pull request Aug 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature 🚀 New feature or request 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.

2 participants