is the intent with init/transition to construct stateful connections to things like external databases or apis? i did that for a kafka job but looking at it in the monitor server leaks credentials so i'm wondering if i'm using it wrong.
Yes, but that’s a good note for @jarrodctaylor
i can wrap in something like this for now
(deftype Secret [val]
clojure.lang.IDeref
(deref [_] val))
(defn secret [val] (->Secret val))Maybe we should datafy the state - that would give the step-fn the option to tailor