jhannes / openapi-generator-typescript-fetch-api

TypeScript client library using Fetch API and API interfaces
13 stars 6 forks source link

Need support for AbortSignal in the fetch calls #12

Closed pteigen closed 2 years ago

pteigen commented 2 years ago

Hello. We use this generator for our main project at the moment. We find it useful and it generates good code that is easy to use.

Alltough we recently have run into an issue where it is needed to abort the fetch calls beeing generated. Currently there is no support for this.

I've noticed there is a branch that encorporates AbortController/AbortSignal in the calls to fetch. This would be perfect for our use.

On that note I would highly encourage that this branch is merged to main in the near future!

Thank you!

jhannes commented 2 years ago

Version 0.3.0 is now published with support for abort signals and other request parameters