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

index-attributesclj/s

(index-attributes {:com.wsscode.pathom3.connect.operation/keys [op-name requires
                                                                provides]})
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

op-setclj/s

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 can be either a Resolver or a Mutation.

Add an operation to the indexes. The operation can be either a Resolver or a Mutation.
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

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

× close