Liking cljdoc? Tell your friends :D

dat.graph


->dynamic-resolvers->resolversclj

(->dynamic-resolvers->resolvers dynamic-resolvers)
source

->resolversclj

(->resolvers schema)
source

attrs-cache-keyclj

(attrs-cache-key op-name attrs-for-env)

Pathom keys the resolver cache on op-name+input+params; entities pulled with different attrs must not collide on it.

Pathom keys the resolver cache on op-name+input+params; entities pulled with
different attrs must not collide on it.
sourceraw docstring

blanks-forclj

(blanks-for ks)
source

expected-shapeclj

(expected-shape env)
(expected-shape env join-key)

What the running pathom node wants from this resolver, as {attr {}}. join-key is the attr the resolver returns entities under, for resolvers with a nested output. Nil when the resolver runs outside of a pathom plan.

What the running pathom node wants from this resolver, as `{attr {}}`.
`join-key` is the attr the resolver returns entities under, for resolvers
with a nested output. Nil when the resolver runs outside of a pathom plan.
sourceraw docstring

make-pullclj

(make-pull schema {:keys [q pull conn ->db dynamic-resolvers]})
source

requested-attrsclj

(requested-attrs shape attrs)

The subset of attrs that the running query asks for. Falls back to all of them when pathom tells us nothing, so that a resolver called outside of a plan still returns a whole entity.

The subset of `attrs` that the running query asks for.
Falls back to all of them when pathom tells us nothing, so that a resolver
called outside of a plan still returns a whole entity.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close