★ wanayoo — archive 1999 https://github.com/fsprojects/FSharp.Data.GraphQL/issues/291Nouvelle recherche | Portail wanayoo
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

Readme and docs should clearly state no support for Fable #291

Open
MargaretKrutikova opened this issue Jul 12, 2020 · 2 comments
Open

Readme and docs should clearly state no support for Fable #291

MargaretKrutikova opened this issue Jul 12, 2020 · 2 comments

Comments

@MargaretKrutikova
Copy link

@MargaretKrutikova MargaretKrutikova commented Jul 12, 2020

Description

FSharp.Data.GraphQL doesn't work for Fable. There is nothing about it mentioned in the readme and the docs say the opposite, that it is supported.

After sitting with it for a couple of hours to at least make it compile I tried to run it and got a lot of exceptions. Searching through the issues I discovered that there is no support for Fable in the latest version, the issue is 2 years old.

Repro steps

Steps to reproduce the problem

  1. Create a Fable project
  2. Add FSharp.Data.GraphQL, configure schema, create provider, make your queries etc
  3. Run the project.

Expected behaviour

Either the library works for Fable, or it clearly states that it doesn't.

Actual behavior

Fails runtime with various different exceptions. The docs says Fable is supported, the readme is silent about it.

Please, clearly indicate in the readme, and especially in the official docs that it doesn't work for Fable. It can save people a lot of time, especially those who are new (like me) to Fable. Also, please, point to the great and only solution for working with graphql and Fable right now - Snowflaqe.

Thank you!

@jberzy
Copy link
Collaborator

@jberzy jberzy commented Jul 13, 2020

Hi @MargaretKrutikova,

Yes, the documentation is out of date and we should address that so people are not confused. At one point the TypeProvider did actually work with Fable, but that was long ago.

Thanks for bringing it to our attention.
John

@tylerhartwig
Copy link

@tylerhartwig tylerhartwig commented Jul 31, 2020

Please update this, spent a lot of time on this tonight! Thanks

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

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.