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)
source

async-resolve-fnclj/s

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

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.
sourceraw docstring

call-addclj/s

(call-add env a b)
source

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.
sourceraw docstring

console-print-reporterclj/s

source

count-failed-callsclj/s

(count-failed-calls env s)
source

count-success-callsclj/s

(count-success-calls env s)
source

depth-printclj/s

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

diff-data-shapesclj/s

(diff-data-shapes a b)

Return the query shape differece.

Return the query shape differece.
sourceraw 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.
sourceraw docstring

dissoc-stats-keysclj/s

(dissoc-stats-keys data-bank)
source

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.
sourceraw docstring

find-join-valueclj/s

(find-join-value q k)
source

inc*clj/s

(inc* x)
source

input-listclj/s

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

log!clj/s

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

merge-mismatchclj/s

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

nowclj/s

(now)
source

parserclj/s

source

parser-envclj/s

source

prepare-environmentclj/s

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

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)
source

reduce-firstclj/s

(reduce-first col)
source

reportclj/s

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

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.
sourceraw docstring

resolve-fnclj/s

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

resolver-callsclj/s

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

return-extra-attributesclj/s

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

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`.
sourceraw docstring

silent-reporterclj/s

(silent-reporter _ _ _)

I report nothing!

I report nothing!
sourceraw docstring

success-call?clj/s

(success-call? x)
source

test-indexclj/s

(test-index env)
source

test-index*clj/s

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

test-resolverclj/s

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

Test a single resolver.

Test a single resolver.
sourceraw 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.
sourceraw 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.
sourceraw docstring

vector->setclj/s

(vector->set x)

Recursively converts all vectors in sets.

Recursively converts all vectors in sets.
sourceraw docstring

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

× close