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

attrs-multi-depsclj/s

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

dynamic-resolver?clj/s

(dynamic-resolver? env resolver-name)

index-attributesclj/s

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

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

input-setclj/s

(input-set input)

merge-indexesclj/s

(merge-indexes ia ib)

Merge index ib in index ia.

Merge index ib in index ia.
raw docstring

merge-oirclj/s

(merge-oir a b)

Merge ::index-oir maps.

Merge ::index-oir maps.
raw docstring

mutationclj/s

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

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

op-setclj/s


operation-configclj/s

(operation-config env op-name)

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

reachable-attributes*clj/s

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

reachable-attributes-for-groups*clj/s

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

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

reachable-paths*clj/s

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

reachable-paths-for-groups*clj/s

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

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)
raw docstring

resolverclj/s

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

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

transient-attr?clj/s

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

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

× close