Liking cljdoc? Tell your friends :D

com.wsscode.pathom.connect.test


add-subsetsclj/s

(add-subsets {:com.wsscode.pathom.connect.test/keys [multi-args] :as a} b)

async-resolve-fnclj/s

(async-resolve-fn {{:com.wsscode.pathom.connect/keys [output]}
                     :com.wsscode.pathom.connect/resolver-data
                   :as env}
                  _)

bank-addclj/s

(bank-add {:com.wsscode.pathom.connect.test/keys [bank-ignore]
           :as env
           :or {bank-ignore #{:com.wsscode.pathom.core/not-found}}}
          a
          b)

Adds new information to a data bank, the data bank is feed by resolver outputs and is used to feed in as input to call other resolvers.

Adds new information to a data bank, the data bank is feed by resolver outputs
and is used to feed in as input to call other resolvers.
raw docstring

call-addclj/s

(call-add env a b)

collect-multi-argsclj/s

(collect-multi-args indexes)

Collect inputs with more than one attribute from the index.

Collect inputs with more than one attribute from the index.
raw docstring

console-print-reporterclj/smultimethod


count-failed-callsclj/s

(count-failed-calls env s)

count-success-callsclj/s

(count-success-calls env s)

depth-printclj/s

(depth-print {:com.wsscode.pathom.connect.test/keys [depth]} & more)

diff-data-shapesclj/s

(diff-data-shapes a b)

Return the query shape differece.

Return the query shape differece.
raw docstring

discover-dataclj/s

(discover-data env {:com.wsscode.pathom.connect/keys [input]})

Pick a new input for a resolver from the data bank.

Pick a new input for a resolver from the data bank.
raw docstring

dissoc-stats-keysclj/s

(dissoc-stats-keys data-bank)

expand-output-treeclj/s

(expand-output-tree indexes)

Connect normaly only indexes the direct root attributes for scan fetching. But for test discovery we also want the nested to be available as options during parsing. This function brings the nested items to top level.

Connect normaly only indexes the direct root attributes for scan fetching.
But for test discovery we also want the nested to be available as options
during parsing. This function brings the nested items to top level.
raw docstring

find-join-valueclj/s

(find-join-value q k)

inc*clj/s

(inc* x)

input-listclj/s

(input-list {:com.wsscode.pathom.connect.test/keys [data-bank]}
            {:com.wsscode.pathom.connect/keys [input]}
            in-data)

log!clj/s

(log! {:com.wsscode.pathom.connect.test/keys [data-bank]}
      {:com.wsscode.pathom.connect/keys [sym]}
      {:keys [in out]})

merge-mismatchclj/s

(merge-mismatch {:com.wsscode.pathom.connect.test/keys [out-cumulative]}
                {:com.wsscode.pathom.connect/keys [output]}
                out)

nowclj/s

(now)

parserclj/s


parser-envclj/s


prepare-environmentclj/s

(prepare-environment {:com.wsscode.pathom.connect/keys [indexes]
                      :com.wsscode.pathom.connect.test/keys [data-bank]
                      :as env})

process-multi-run!clj/s

(process-multi-run! {:com.wsscode.pathom.connect.test/keys
                       [data-bank target-call-count max-error-retry]
                     :or {target-call-count 5 max-error-retry 10}
                     :as env}
                    sym)

reduce-firstclj/s

(reduce-first col)

reportclj/s

(report {:com.wsscode.pathom.connect.test/keys [report-fn] :as env} event data)

resolve-attrclj/s

(resolve-attr {:com.wsscode.pathom.connect.test/keys [data-bank force-seek?]
               :as env}
              attr)

Find a value for an attribute.

Find a value for an attribute.
raw docstring

resolve-fnclj/s

(resolve-fn {{:com.wsscode.pathom.connect/keys [output]}
               :com.wsscode.pathom.connect/resolver-data}
            _)

resolver-callsclj/s

(resolver-calls {:com.wsscode.pathom.connect.test/keys [data-bank]} s)

return-extra-attributesclj/s

(return-extra-attributes {:com.wsscode.pathom.connect/keys [output]} out)

seek-attrclj/s

(seek-attr {:com.wsscode.pathom.connect.test/keys [data-bank resolver-trace
                                                   depth]
            :com.wsscode.pathom.connect/keys [indexes]
            :or {depth 0}
            :as env}
           attr)

Try to run more resolvers to get more attributes of type attr.

Try to run more resolvers to get more attributes of type `attr`.
raw docstring

silent-reporterclj/s

(silent-reporter _ _ _)

I report nothing!

I report nothing!
raw docstring

success-call?clj/s

(success-call? x)

test-indexclj/s

(test-index env)

test-index*clj/s

(test-index* {:com.wsscode.pathom.connect/keys [indexes] :as env})

test-resolverclj/s

(test-resolver env {:com.wsscode.pathom.connect/keys [sym]})

Test a single resolver.

Test a single resolver.
raw docstring

test-resolver*clj/s

(test-resolver* {:com.wsscode.pathom.connect.test/keys [data-bank force-seek?]
                 :as env}
                {:com.wsscode.pathom.connect/keys [sym] :as resolver})
(test-resolver* {:com.wsscode.pathom.connect.test/keys [data-bank] :as env}
                {:com.wsscode.pathom.connect/keys [sym] :as resolver}
                input)

Test a resolver.

Test a resolver.
raw docstring

unreachableclj/s

(unreachable {:com.wsscode.pathom.connect.test/keys [data-bank]} k)

Mark attribute k as unreachable on db. Returns ::unreachable.

Mark attribute k as unreachable on db. Returns ::unreachable.
raw docstring

vector->setclj/s

(vector->set x)

Recursively converts all vectors in sets.

Recursively converts all vectors in sets.
raw docstring

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

× close