FSharp.Data.GraphQL
FSharp.Data.GraphQL copied to clipboard
Readme and docs should clearly state no support for Fable
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
- Create a
Fable
project - Add
FSharp.Data.GraphQL
, configure schema, create provider, make your queries etc - 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!
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
Please update this, spent a lot of time on this tonight! Thanks
Feel free to submit a PR