Liking cljdoc? Tell your friends :D

com.walmartlabs.lacinia.pedestal.interceptors

Common interceptors between the standard and subscriptions code paths.

Common interceptors between the standard and subscriptions code paths.
raw docstring

inject-app-context-interceptorcljdeprecated

(inject-app-context-interceptor app-context)

Adds a :lacinia-app-context key to the request, used when executing the query.

The provided app-context map is augmented with the request map, as key :request.

It is not uncommon to replace this interceptor with one that constructs the application context dynamically; for example, to extract authentication information from the request and expose that as app-context keys.

Deprecated. Use the versions in com.walmartlabs.lacinia.pedestal2 or com.walmartlabs.lacinia.pedestal.subscriptions.

Adds a :lacinia-app-context key to the request, used when executing the query.

The provided app-context map is augmented with the request map, as key :request.

It is not uncommon to replace this interceptor with one that constructs
the application context dynamically; for example, to extract authentication information
from the request and expose that as app-context keys.

Deprecated.  Use the versions in [[com.walmartlabs.lacinia.pedestal2]]
or [[com.walmartlabs.lacinia.pedestal.subscriptions]].
raw 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