(add-metadata {:keys [resp commands] :as ctx})
(add-user-to-events {:keys [user] :as ctx})
(assign-events-seq {:keys [resp] :as ctx})
(calc-service-url service)
(call-query-fn ctx cmd query-fn)
(check-for-errors {:keys [resp] :as ctx})
(clean-effects ctx)
(fetch-dependencies-for-command ctx cmd)
(fetch-event-sequences-for-commands {:keys [commands] :as ctx})
(get-command-response {:keys [commands] :as ctx})
(handle-command {:keys [idx cmd command-handlers] :as ctx})
(handle-commands ctx body)
(handle-effects {:keys [resp] :as ctx})
(handle-identities ctx events)
(handle-sequences ctx events)
(resolve-command-id ctx cmd idx)
Resolving command id. Taking into account override function of id. If Id in override returns null we fallback to command id. Override should be only used when it is impossible to create id on client. Like in case of import
Resolving command id. Taking into account override function of id. If Id in override returns null we fallback to command id. Override should be only used when it is impossible to create id on client. Like in case of import
(resolve-commands-id-fn {:keys [commands] :as ctx})
(resolve-dependencies-to-context {:keys [commands] :as ctx})
(resolve-local-dependency ctx cmd query-fn)
(resolve-remote-dependency ctx cmd {:keys [service query]})
(set-response-summary {:keys [resp no-summary]})
(to-clean-vector resp)
(validate-commands {:keys [commands] :as ctx})
Validate if commands match spec and if they are valid commands
Validate if commands match spec and if they are valid commands
(verify-command-version {:keys [commands] :as ctx})
(wrap-commands ctx commands)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close