lambdacd.stepresults.merge-resolvers
Contains functions that can act as resolvers in merge-two-step-results by returning a merged result of two values if they match or nil if they don’t.
combine-to-list-resolver
(combine-to-list-resolver _ v1 v2)
Resolver that concatenates two list values or a value onto an existing list.
join-output-resolver
(join-output-resolver k v1 v2)
Resolver that joins two strings in the :out key with newlines.
merge-nested-maps-resolver
(merge-nested-maps-resolver _ v1 v2)
Resolver that merges two given maps with the default clojure merge
.
second-wins-resolver
(second-wins-resolver _ _ v2)
Resolver that always returns the second (usually newer) value.
status-resolver
(status-resolver k v1 v2)
Resolver that resolves only the :status key with the last-or-not-success
function.