refactor(core): make Config.Info canonical Effect Schema (#23716)
This commit is contained in:
@@ -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 }),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user