Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typescript-fetch client isomorphic dependency does not work on React Native #6738

Closed
jeff-99 opened this issue Oct 18, 2017 · 0 comments
Closed

Comments

@jeff-99
Copy link
Contributor

jeff-99 commented Oct 18, 2017

Description

The generated code from the typescript fetch client generator cannot be used in React Native. There are multiple open issues related to this:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants