You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
any possible way to include timeout on fetch()? matthew-andrews/isomorphic-fetch#48
The maintainer does not comment on these issues, nor does he respond to the posted pull requests to add react native support. So I would love to see the dependency to isomorphic-fetch will be replaced by portable-fetch (fork with react native support)
Swagger-codegen version
2.3.0
Swagger declaration file content or url
Command line used for generation
Steps to reproduce
Use any swagger file to generate client and use it in a React Native project. It will give the following error: fetch is not a function
Related issues/PRs
Suggest a fix/enhancement
replace the dependency from isomorphic-fetch to portable-fetch
The text was updated successfully, but these errors were encountered:
Description
The generated code from the typescript fetch client generator cannot be used in React Native. There are multiple open issues related to this:
The maintainer does not comment on these issues, nor does he respond to the posted pull requests to add react native support. So I would love to see the dependency to isomorphic-fetch will be replaced by portable-fetch (fork with react native support)
Swagger-codegen version
2.3.0
Swagger declaration file content or url
Command line used for generation
Steps to reproduce
Use any swagger file to generate client and use it in a React Native project. It will give the following error: fetch is not a function
Related issues/PRs
Suggest a fix/enhancement
replace the dependency from isomorphic-fetch to portable-fetch
The text was updated successfully, but these errors were encountered: