(attribute-available? {:com.wsscode.pathom3.connect.indexes/keys [index-oir]} k)
Check if some attribute is known in the index, this checks uses the index-oir.
Check if some attribute is known in the index, this checks uses the index-oir.
(attribute-reachable? env available-data attr)
Discover which attributes are available, given an index and a data context.
Discover which attributes are available, given an index and a data context.
(attrs-multi-deps {:com.wsscode.pathom3.connect.indexes/keys [index-attributes]}
attrs)
(dynamic-resolver? env resolver-name)
(index-attributes {:com.wsscode.pathom3.connect.operation/keys [op-name requires
provides]})
This is an extensible gateway so you can define different strategies for merging different kinds of indexes.
This is an extensible gateway so you can define different strategies for merging different kinds of indexes.
(input-set input)
(merge-indexes ia ib)
Merge index ib in index ia.
Merge index ib in index ia.
(mutation {:com.wsscode.pathom3.connect.indexes/keys [index-mutations]}
mutation-name)
(mutation-config {:com.wsscode.pathom3.connect.indexes/keys [index-mutations]}
mutation-name)
Given a indexes map and a mutation sym, returns the mutation configuration map.
Given a indexes map and a mutation sym, returns the mutation configuration map.
(operation-config env op-name)
(reachable-attributes {:com.wsscode.pathom3.connect.indexes/keys [index-io]
:as env}
available-data)
Discover which attributes are available, given an index and a data context.
Also includes the attributes from available-data.
Discover which attributes are available, given an index and a data context. Also includes the attributes from available-data.
(reachable-attributes* {:com.wsscode.pathom3.connect.indexes/keys [index-io]
:as env}
queue
attributes)
(reachable-attributes-for-groups* {:com.wsscode.pathom3.connect.indexes/keys
[index-io]}
groups
attributes)
(reachable-paths {:com.wsscode.pathom3.connect.indexes/keys [index-io] :as env}
available-data)
Discover which paths are available, given an index and a data context.
Also includes the attributes from available-data.
Discover which paths are available, given an index and a data context. Also includes the attributes from available-data.
(reachable-paths* {:com.wsscode.pathom3.connect.indexes/keys [index-io] :as env}
queue
paths)
(reachable-paths-for-groups* {:com.wsscode.pathom3.connect.indexes/keys
[index-io]}
groups
attributes)
(register operation-or-operations)
(register indexes operation-or-operations-or-indexes)
Add an operation to the indexes. The operation value supports some different types:
Resolver: adds a single resolver Mutation: adds a single mutation Map: assumes its a map containing indexes, merges in using merge-indexes functionality Sequentials: a vector containing any of the operators (including other sequentials)
Add an operation to the indexes. The operation value supports some different types: Resolver: adds a single resolver Mutation: adds a single mutation Map: assumes its a map containing indexes, merges in using merge-indexes functionality Sequentials: a vector containing any of the operators (including other sequentials)
(resolver {:com.wsscode.pathom3.connect.indexes/keys [index-resolvers]}
resolver-name)
(resolver-config {:com.wsscode.pathom3.connect.indexes/keys [index-resolvers]}
resolver-name)
Given a indexes map and a resolver sym, returns the resolver configuration map.
Given a indexes map and a resolver sym, returns the resolver configuration map.
(resolver-optionals env resolver-sym)
Get the resolver provides from the resolver configuration map
Get the resolver provides from the resolver configuration map
(resolver-provides env resolver-sym)
Get the resolver provides from the resolver configuration map
Get the resolver provides from the resolver configuration map
(transient-attr? {:com.wsscode.pathom3.connect.indexes/keys [transient-attrs]}
attr)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close