openapi-typescript
openapi-typescript copied to clipboard
Allow client option for custom dispatcher into fetch requests (e.g. to disable certificate validation) #1631
Changes
Fix for https://github.com/drwpow/openapi-typescript/issues/1631
How to Review
How can a reviewer review your changes? What should be kept in mind for this review?
Checklist
- [x] Unit tests updated
- [ ]
docs/
updated (if necessary) - [ ]
pnpm run update:examples
run (only applicable for openapi-typescript)
⚠️ No Changeset found
Latest commit: 9c516782f6518f6b32848f567f782b38317ab25a
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
Is there anything we can do to re-run failed workflows? Thanks!
Is there anything we can do to re-run failed workflows? Thanks!
Unfortunately no; there’s just a requirement that new contributors need to have manually-run workflows until they’ve gotten a PR merged. I think it’s just GitHub saving $ (which is fine by me, because of how generously they provide so many resources for OSS).
See comment on #1631. I think we need a little more discussion / clarification on what this PR is accomplishing, because on first glance it’s not clear. So that’s priority 1.
I’ll also leave a few comments on this PR—even if it gets reworked—just to give a sense of what we’re looking for when contributing to this project.
any chance of this getting merged? i'm getting hit with this problem with a long-running fetch call (undici hardcodes the timeout when used through the fetch api)
Apologies; I dropped off reviewing this PR because it still had failing tests, and it seemed like there was still work to be done. @mellster2012 if we get all the tests and checks passing again, I’d be open to approving and merging 🙂. Thanks for addressing my previous comments, by the way!
Apologies; I dropped off reviewing this PR because it still had failing tests, and it seemed like there was still work to be done. @mellster2012 if we get all the tests and checks passing again, I’d be open to approving and merging 🙂. Thanks for addressing my previous comments, by the way!
Sure, I will definitely work on it and resubmit once everything is back in sync and tests are passing, but it may take a week or more until I can get started on it.
Redone PR here: https://github.com/openapi-ts/openapi-typescript/pull/1837