-
-
Notifications
You must be signed in to change notification settings - Fork 211
Fix date serialization errors in FormData. Update bodySerializer.ts #2375
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
base: main
Are you sure you want to change the base?
Conversation
Fix date serialization errors in FormData
|
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2375 +/- ##
=======================================
Coverage 22.53% 22.53%
=======================================
Files 324 324
Lines 31840 31840
Branches 1232 1232
=======================================
Hits 7174 7174
Misses 24657 24657
Partials 9 9
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:
|
Add missing else
commit: |
Hey @LZQCN you've only updated an example in this pull request, i.e. this doesn't fix anything. What you're looking for is probably https://github.com/hey-api/openapi-ts/blob/main/packages/openapi-ts/src/plugins/%40hey-api/client-core/bundle/bodySerializer.ts#L17. Could you also add a test so we can verify it fixes the issue? |
Fix date serialization errors in FormData.
The correct value is
'2025-07-31T09:40:13.599Z'
instead of'"2025-07-31T09:40:13.599Z"'