Liking cljdoc? Tell your friends :D

district.ui.graphql.utils


apply-query-middlewarescljs

(apply-query-middlewares middlewares {:keys [:query :variables] :as opts})
source

batch-queriescljs

(batch-queries & query-configs)
source

build-schemacljs

(build-schema schema)
source

contains-typename?cljs

(contains-typename? node)
source

create-dataloadercljs

(create-dataloader {:keys [:on-success :on-error :on-request :on-response
                           :fetch-event]
                    :as opts})
source

create-field-nodecljs

(create-field-node name)
source

create-field-resolvercljs

(create-field-resolver & [{:keys [:gql-name->kw] :or {gql-name->kw identity}}])
source

create-middlewarecljs

(create-middleware id middleware-fn)
source

create-name-nodecljs

(create-name-node name)
source

entity-ref?cljs

(entity-ref? x)
source

entity?cljs

(entity? node id-field-names)
source

get-entitycljs

(get-entity entities {:keys [:id :type]})
source

get-refcljs

(get-ref node id-field-names)
source

gql-build-schemacljs

source

graphql-type->id-field-namescljs

(graphql-type->id-field-names gql-type)
source

merge-in-collscljs

(merge-in-colls & args)

Merge multiple nested maps. Merges maps in collections as well

Merge multiple nested maps. Merges maps in collections as well
sourceraw docstring

normalize-responsecljs

(normalize-response data query-clj opts)
source

parse-graphqlcljs

source

parse-querycljs

(parse-query query {:keys [:kw->gql-name]})
source

source

query->cljcljs

(query->clj query-ast
            schema
            &
            [{:keys [:gql-name->kw :variables] :or {gql-name->kw identity}}])
source

query-clj-replace-aliasescljs

(query-clj-replace-aliases query-clj)
source

remove-nil-valscljs

(remove-nil-vals form)
source

remove-unused-variable-defscljs

(remove-unused-variable-defs query)
source

replace-entities-with-refscljs

(replace-entities-with-refs data {:keys [:query] :as query-clj} opts)
source

response-replace-aliasescljs

(response-replace-aliases data {:keys [:query] :as query-clj})
source

typename-fieldcljs

source

update-entitycljs

(update-entity state {:keys [:id :type]} item)
source

visitcljs

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close