palikka.coerce
Provides Schema coercion for component configuration values.
This is useful when options are read from string only sources like
envinronment variables or system properties. Coercion is based on
schema.coerce/string-coercion-matcher but additionally includes
following coercions:
- Single string to collection by splitting the string on ":"
env-coerce
(env-coerce schema v)
Coerces and validates value against given schema. Throws if
coercion of validation fails.
env-coercer
(env-coercer schema)
env-coercion-matcher
(env-coercion-matcher schema)
string-collection-matcher
(string-collection-matcher schema)