fix: preserve empty array as request body in stripEmptySlots#3451
fix: preserve empty array as request body in stripEmptySlots#3451
Conversation
|
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: 1518fda 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 |
Co-authored-by: mrlubos <12529395+mrlubos@users.noreply.github.com>
|
@copilot you're going to have to make sure you updated snapshots with |
Co-authored-by: mrlubos <12529395+mrlubos@users.noreply.github.com>
Done in b1f91cd — ran Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Updated the changeset to include '@hey-api/openapi-ts' and modified the fix description.
|
Leaping into action... |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3451 +/- ##
=======================================
Coverage 40.13% 40.13%
=======================================
Files 478 478
Lines 17479 17479
Branches 5295 5295
=======================================
Hits 7016 7016
Misses 8418 8418
Partials 2045 2045
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:
|
@hey-api/codegen-core
@hey-api/json-schema-ref-parser
@hey-api/nuxt
@hey-api/openapi-ts
@hey-api/shared
@hey-api/types
@hey-api/vite-plugin
commit: |

stripEmptySlotsinparams.tstreats empty arrays as empty objects and removes themstripEmptySlotsto skip array values (add!Array.isArray(value)check)pnpm test:update)pnpm examples:generate)Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.