std.lib.transform.base.enum
wrap-single-enum
added in 3.0
(wrap-single-enum f)wraps normalise with comprehension of the enum type
(graph/normalise {:account {:type :account.type/guest}} {:schema (schema/schema {:account/type {:type :enum :enum {:ns :account.type :values #{:vip :guest}}}})} {:normalise-single wrap-single-enum}) => {:account {:type :guest}}