Refactor examples
I think we should refactor examples to accommodate for WASM and graphql-client. Probably using different packages. What do you think?
Yeah, not against refactoring the examples now there's support for just cynic. What did you have in mind re: different packages?
At least one package for cynic, graphql-client and later wasm. That would be good enough for now.
If you just mean separate packages for cynic examples, graphql-client examples etc. then yeah - sounds good to me
Is there examples for graphql-client? That would be very helpful.
I cannot find an example online.
@HuakunShen - I'm afraid I've never used this library with graphql-client.
@Sytten - don't suppose you've got any example code you can share?
@HuakunShen you could probably borrow some code from the railway CLI where they're using this library with graphql_client
@obmarg Thank you!
In the README, it says there is integration with graphql-client: features = ["client-graphql-client"]
What does this mean? I thought graphql-client is supported.
I will take a look at railway first.
@obmarg Thank you!
In the README, it says there is integration with graphql-client: features = ["client-graphql-client"]
What does this mean? I thought
graphql-clientis supported.
It means that you need to enable the client-graphql-client feature flag to get graphql-client support like the railway people have done here. We have support for multiple graphql clients, and control which are enabled via feature flags.