refactor(core): make Config.Info canonical Effect Schema (#23716)

This commit is contained in:
Kit Langton
2026-04-21 14:06:47 -04:00
committed by GitHub
parent 3205f122eb
commit ecc06a3d8f
7 changed files with 36 additions and 27 deletions

View File

@@ -168,7 +168,7 @@ function layer(result: "continue" | "compact") {
}
function cfg(compaction?: Config.Info["compaction"]) {
const base = Config.Info.parse({})
const base = Config.Info.zod.parse({})
return Layer.mock(Config.Service)({
get: () => Effect.succeed({ ...base, compaction }),
})