refactor(core): make Config.Info canonical Effect Schema (#23716)
This commit is contained in:
parent
3205f122eb
commit
ecc06a3d8f
7 changed files with 36 additions and 27 deletions
|
|
@ -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 }),
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue