re-graph icon indicating copy to clipboard operation
re-graph copied to clipboard

A graphql client for clojurescript and clojure

Results 17 re-graph issues
Sort by recently updated
recently updated
newest added

When I call `(re-graph/destroy {})` after making a subscription on a websocket or if the websocket is closed due to external factors I get the following: ``` 2022-07-27T16:33:54.173-0700 VPizzo-MBP-932.singlewire.lan ERROR...

It's now given a map with `:response` key populated, but it might be nice if it also had `:id`, `:query`, `:variables` etc as well, this could potentially save the user...

Currently a no-args function which means it's probably going to be impure

Some GraphQL servers requires to pass other keys to the payload than `query` and `variables`. For example, this is the subscription query in AWS AppSync: ``` { 'id': SUB_ID, 'payload':...

Hi. It would be nice if I was able to abort query, e.g. if user changes page before previous one was fully loaded. I found that the http library seems...

Rather than having possibly duplicated error handling logic in every response handler it might be useful to have a catch-all handler

Could delay the unsubscribe message by 100ms and cancel it if resubscription occurs. Use case is changing pages which may unmount and then remount a component.

Should be off by default, but a nice option to have