Query -> Request issue
artificial-jamesirei opened this issue · comments
Hello! I'm trying to use this package to make graphql requests but when I try to follow the example code to send a request, it throws an error about it can't convert a query to a request. I would appreciate some guidance on this, thank you!
The example is outdated. You can make a request from a query by calling
query.ToRequest()
You could also create a request directly. The easiest thing is probably take a look at the tests for inspiration until we've fixed the examples.
Thanks for pointing it out!
I made some quick edits to the readme. Let us know if it works and is clear enough :)
@johanhelsing That was it, thank you!