A graphql client for clojurescript and clojure
This is a major release of re-graph due to the API signatures changing. You are strongly advised to read the UPGRADE guide for rationale and code examples.
This release changes:
re-graph.core-deprecated
#81This release improves:
This release improves:
This release changes:
This release changes:
This release adds support for:
:impl
parameter can now be a function that returns the options map, as well as a literal options map (fixes regression of #13, #72)This release improves:
This release changes:
init
have been reorganised to separate websocket and http parameters as follows:Previously:
(re-frame/dispatch
[::re-graph/init
{:ws-url "wss://foo.io/graphql-ws"
:connection-init-payload {}
:http-url "http://bar.io/graphql"}])
Now:
(re-frame/dispatch
[::re-graph/init
{:ws {:url "wss://foo.io/graphql-ws"
:connection-init-payload {}}
:http {:url "http://bar.io/graphql"}}])
See the README for all option parameters.
This release adds support for:
:impl
option) e.g. sharing a cookie store as per #58This release improves:
Many thanks to @loomis for implementing the vast majority of this.
This release changes:
mutate
function which incorrectly took a single vector but now takes varargs in the same way as query
#55 (thanks @loomis)This release adds support for:
mutate
and query
(Clojure only) #56 (thanks @loomis)This release improves:
This release fixes:
This release adds support for:
This release fixes:
This release adds support for:
:errors
key #43