(apply-query-middlewares middlewares {:keys [:query :variables] :as opts})
(create-dataloader {:keys [:on-success :on-error :on-request :on-response
:fetch-event]
:as opts})
(create-field-resolver & [{:keys [:gql-name->kw] :or {gql-name->kw identity}}])
(merge-in-colls & args)
Merge multiple nested maps. Merges maps in collections as well
Merge multiple nested maps. Merges maps in collections as well
(non-empty-keys m)
Given a map return the set of empty keys. All this are considered empty keys {:a nil :b [] :c [nil nil nil]}
Given a map return the set of empty keys. All this are considered empty keys {:a nil :b [] :c [nil nil nil]}
(query->clj query-ast
schema
&
[{:keys [:gql-name->kw :variables] :or {gql-name->kw identity}}])
(remove-empty-typename-paths t)
All path in maps that are only for supporting other maps with :__typename as only key are removed.
All path in maps that are only for supporting other maps with :__typename as only key are removed.
(replace-entities-with-refs data {:keys [:query] :as query-clj} opts)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close