openapi-typescript icon indicating copy to clipboard operation
openapi-typescript copied to clipboard

Allow client option for custom dispatcher into fetch requests (e.g. to disable certificate validation) #1631

Open mellster2012 opened this issue 9 months ago • 5 comments

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)

mellster2012 avatar Apr 27 '24 22:04 mellster2012

⚠️ 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

changeset-bot[bot] avatar Apr 27 '24 22:04 changeset-bot[bot]

Is there anything we can do to re-run failed workflows? Thanks!

mellster2012 avatar May 04 '24 21:05 mellster2012

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).

drwpow avatar May 16 '24 16:05 drwpow

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.

drwpow avatar May 16 '24 16:05 drwpow

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)

mwotton avatar Jul 24 '24 08:07 mwotton

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!

drwpow avatar Aug 01 '24 15:08 drwpow

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.

mellster2012 avatar Aug 05 '24 17:08 mellster2012

Redone PR here: https://github.com/openapi-ts/openapi-typescript/pull/1837

mellster2012 avatar Aug 10 '24 23:08 mellster2012