[ANN] re-graph 0.1.8 - the GraphQL client for Clojurescript

2019-03-05 Thread Oliver Hine
Hi everyone, I'm pleased to announce the release of re-graph 0.1. 8. re-graph is a GraphQL client for Clojurescript with re-frame bindings and support for queries, subscriptions and mutations over websocket or HTTP This release *fixes*: - Query and mutate

Re: [ANN] re-graph 0.1.8 - the GraphQL client for Clojurescript

2019-03-05 Thread Matching Socks
It dresses up HTTP failures in the GraphQL error structure so the user has to cope with only one failure channel. Is that what everyone does? Anyway, I did not see that spelled out in the Readme. It looks like a useful feature! By the way, I see it uses cljs-http, which in turn uses clj->js

Re: Noob question on the --> macro implementation

2019-03-05 Thread Ujjwal Thaakar
I didn't understand what you meant by > where seq?, as distinct from seq, does not check whether there is anything > in the sequence. On Sunday, January 27, 2019 at 5:31:15 PM UTC+5:30, Matching Socks wrote: > > Gary might be on to something. The immediate context is > > (if (seq? form) >

Re: Noob question on the --> macro implementation

2019-03-05 Thread Ujjwal Thaakar
Sorry I had completely forgotten about this post and just saw it now. I think this explanation makes sense although in most cases the thread value will also not be a function and if it is then it could be treated as invoking the threaded function's call and the result passed on to the next form

Re: Noob question on the --> macro implementation

2019-03-05 Thread Ujjwal Thaakar
Yes that was my only point. On Sunday, January 27, 2019 at 12:39:12 AM UTC+5:30, James Reeves wrote: > > I believe he's just saying it's simpler and possibly more efficient. > > Unless I'm missing something subtle in the way this is resolved, I believe > Ujjwal is right that: > > `(~(first fo

Re: Keys spec with :additional-keys boolean option

2019-03-05 Thread 'somewhat-functional-programmer' via Clojure
I assume you are forced to use XML (if you are choosing the format, I wholeheartedly recommend EDN!). If you /do/ control the choice of XML/EDN but want to interoperate with other languages, check out: https://github.com/edn-format/edn/wiki/Implementations - maybe you could use EDN anyhow if y