Closed ashkan18 closed 7 years ago
@dblock @ashkan18 Quick question: is it possible to name queries? I saw the other PR (#13) introducing that behavior and this which (somewhat) removes it again.
Thanks
Reading the description of this PR it sounds like that answer is "no" @antonengelhardt
[WIP] still need to update readme and chagelog
This is big change, here we've done following:
graphql-client
which will provide us #2 and also better error handling and also we can use responses with.
notation so we can do something likeresponse.data.invoices.first.fee_in_cents
Graphql::Client
can't parse named queries and doesn't like the generated AST, since we are not really using the name of the query and currently we don't support query variables its safe to not support name and for now we can just doFollow up
Graphlient::Client.query
method toGraphlient::Client.execute
word query is little overloaded in this context.