Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optional argument default-fn to default-value-transformer
See an example usage here: https://github.com/piotr-yuxuan/malli-cli/blob/main/src/piotr_yuxuan/malli_cli.clj#L220-L222 This doesn't change existing behaviour but only add `default-fn` optional argument. When set, this function is applied on the default value found under key `key`. This optional, additional indirection allows a seamless way to define `:env-var` defaults.
- Loading branch information