Liking cljdoc? Tell your friends :D

com.wsscode.pathom3.connect.indexes


attribute-available?clj/s

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

attribute-reachable?clj/s

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

attrs-multi-depsclj/s

(attrs-multi-deps {:com.wsscode.pathom3.connect.indexes/keys [index-attributes]}
                  attrs)
source

dynamic-resolver?clj/s

(dynamic-resolver? env resolver-name)
source

index-attributesclj/s

(index-attributes {:com.wsscode.pathom3.connect.operation/keys [op-name requires
                                                                provides output]
                   :as op})
source

index-mergerclj/smultimethod

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

input-setclj/s

(input-set input)
source

merge-indexesclj/s

(merge-indexes ia ib)

Merge index ib in index ia.

Merge index ib in index ia.
sourceraw docstring

merge-oirclj/s

(merge-oir a b)

Merge ::index-oir maps.

Merge ::index-oir maps.
sourceraw docstring

mutationclj/s

(mutation {:com.wsscode.pathom3.connect.indexes/keys [index-mutations]}
          mutation-name)
source

mutation-configclj/s

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

normalized-childrenclj/s

(normalized-children {:keys [children]})
source

op-setclj/s

source

operation-configclj/s

(operation-config env op-name)
source

reachable-attributesclj/s

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

reachable-attributes*clj/s

(reachable-attributes* {:com.wsscode.pathom3.connect.indexes/keys [index-io]
                        :as env}
                       queue
                       attributes)
source

reachable-attributes-for-groups*clj/s

(reachable-attributes-for-groups* {:com.wsscode.pathom3.connect.indexes/keys
                                     [index-io]}
                                  groups
                                  attributes)
source

reachable-pathsclj/s

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

reachable-paths*clj/s

(reachable-paths* {:com.wsscode.pathom3.connect.indexes/keys [index-io] :as env}
                  queue
                  paths)
source

reachable-paths-for-groups*clj/s

(reachable-paths-for-groups* {:com.wsscode.pathom3.connect.indexes/keys
                                [index-io]}
                             groups
                             attributes)
source

registerclj/s

(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)
sourceraw docstring

resolverclj/s

(resolver {:com.wsscode.pathom3.connect.indexes/keys [index-resolvers]}
          resolver-name)
source

resolver-configclj/s

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

resolver-optionalsclj/s

(resolver-optionals env resolver-sym)

Get the resolver provides from the resolver configuration map

Get the resolver provides from the resolver configuration map
sourceraw docstring

resolver-providesclj/s

(resolver-provides env resolver-sym)

Get the resolver provides from the resolver configuration map

Get the resolver provides from the resolver configuration map
sourceraw docstring

transient-attr?clj/s

(transient-attr? {:com.wsscode.pathom3.connect.indexes/keys [transient-attrs]}
                 attr)
source

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

× close