(calc-service-query-url service)
(call-query-fn _ cmd query-fn deps)
(clean-effects ctx effects)
(fetch-dependencies-for-command ctx {:keys [cmd-id] :as cmd})
(get-response-from-command-handler ctx & {:keys [command-handler cmd]})
(handle-command ctx {:keys [cmd-id] :as cmd})
(handle-commands ctx body)
(handle-effects ctx & {:keys [resp aggregate]})
(invoke-handler handler cmd ctx)
We add try catch here in order to parse all Exceptions thrown by handler in to data. Afterwards we want only ex-info
We add try catch here in order to parse all Exceptions thrown by handler in to data. Afterwards we want only ex-info
(process-commands ctx {:keys [commands] :as body})
(resolve-command-id-with-id-fn ctx cmd)
Resolving command id. Taking into account override function of id. If id-fn 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-fn 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-local-dependency ctx cmd query-fn deps)
(resolve-remote-dependency ctx cmd {:keys [service query]} deps)
(resp->add-meta-to-events ctx {:keys [events] :as resp})
(resp->add-user-to-events {:keys [user]} resp)
(resp->assign-event-seq ctx {:keys [events] :as resp})
(resp->cache-partitioned ctx resp)
(resp->response-summary {:keys [no-summary]} resp)
(resp->store-cache-partition ctx resp)
(retry f n)
(store-results ctx resp)
(to-clean-vector resp)
(validate-commands ctx commands)
Validate if commands match spec and if they are valid commands
Validate if commands match spec and if they are valid commands
(validate-single-command ctx {:keys [cmd-id] :as cmd})
(verify-command-version ctx cmd)
(with-breadcrumbs ctx resp)
(wrap-commands ctx commands)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close