Equivalent Schema.Config Usage for Default Value
What is equivalent of the above
when using
Schema.Config? I want for
SOMETHING to have a default value if it doesn't exists or exists with undefined as value in the execution context.Schema.ConfigSOMETHINGimport { Config } from "effect";
const SOMETHING = Config.nonEmptyString().pipe(Config.withDefault("something"));const SOMETHING = Schema.Config("SOMETHING", Schema.NonEmptyTrimmedString);