graphql-query
graphql-query copied to clipboard
Clojure(Script) graphql query generation
(I submitted a pull request #12 some time ago)
Fixes that a malformed request is generated if there are backslashes in the query / mutation.
When passing a sequence to the `graphql-query` function this leads to different behaviour whether the sequence is a `ChunkedSeq` or an `IndexedSeq`. ## Example ``` clojure (require '[graphql-query.core :refer [graphql-query]])...
This is a cross-post of the Issue in the original venia repository as it seems dead: https://github.com/Vincit/venia/issues/36. Currently the [spec](https://github.com/district0x/graphql-query/blob/master/src/graphql_query/spec.cljc#L157) describes allows to be a `:variable/type` to be only a...
Reads/ updates to cache often require using [fragments].(https://www.apollographql.com/docs/react/caching/cache-interaction/#readfragment). Currently the entry-point function does not allow for parsing only a fragment, this won;t conform to schema: ``` (graphql-query {:fragments [{:fragment/name :fragment/followFields...