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

Support on server side? #20

Closed
leesiongchan opened this issue Oct 3, 2017 · 4 comments
Closed

Support on server side? #20

leesiongchan opened this issue Oct 3, 2017 · 4 comments

Comments

@leesiongchan
Copy link

No description provided.

@dunglas
Copy link
Member

dunglas commented Oct 3, 2017

We use it server-side (ex: https://github.com/api-platform/client-generator) without problem. Or do you mean something else?

@leesiongchan
Copy link
Author

leesiongchan commented Oct 3, 2017

Oh sorry, because I see https://github.com/api-platform/api-doc-parser/blob/master/src/hydra/fetchJsonLd.js#L12 and https://github.com/api-platform/api-doc-parser/blob/master/src/hydra/fetchJsonLd.js#L23 are rely on the browser fetch api, unless we use isomorphic-fetch or otherwise the library will not be working on the server. Perhaps the library should include isomoprhic-fetch as a dependency?

@mysiar
Copy link
Member

mysiar commented Oct 3, 2017

@leesiongchan
Copy link
Author

Sorry I think I am blind, it does write in the documentation.

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

No branches or pull requests

3 participants