(async-resolve-fn {{:com.wsscode.pathom.connect/keys [output]}
:com.wsscode.pathom.connect/resolver-data
:as env}
_)
(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.
(collect-multi-args indexes)
Collect inputs with more than one attribute from the index.
Collect inputs with more than one attribute from the index.
(diff-data-shapes a b)
Return the query shape differece.
Return the query shape differece.
(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.
(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.
(input-list {:com.wsscode.pathom.connect.test/keys [data-bank]}
{:com.wsscode.pathom.connect/keys [input]}
in-data)
(log! {:com.wsscode.pathom.connect.test/keys [data-bank]}
{:com.wsscode.pathom.connect/keys [sym]}
{:keys [in out]})
(merge-mismatch {:com.wsscode.pathom.connect.test/keys [out-cumulative]}
{:com.wsscode.pathom.connect/keys [output]}
out)
(prepare-environment {:com.wsscode.pathom.connect/keys [indexes]
:com.wsscode.pathom.connect.test/keys [data-bank]
:as env})
(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)
(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.
(resolve-fn {{:com.wsscode.pathom.connect/keys [output]}
:com.wsscode.pathom.connect/resolver-data}
_)
(return-extra-attributes {:com.wsscode.pathom.connect/keys [output]} out)
(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`.
(test-resolver env {:com.wsscode.pathom.connect/keys [sym]})
Test a single resolver.
Test a single resolver.
(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.
(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.
(vector->set x)
Recursively converts all vectors in sets.
Recursively converts all vectors in sets.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close