MCPcopy Create free account
hub / github.com/Effect-TS/effect / compileConstructorDefault

Function compileConstructorDefault

packages/effect/src/SchemaParser.ts:1033–1035  ·  view source on GitHub ↗
(ast: SchemaAST.AST)

Source from the content-addressed store, hash-verified

1031)
1032
1033function compileConstructorDefault(ast: SchemaAST.AST): Parser {
1034 return ast.context?.constructorDefault ? compileDefaulted(ast) : constructorCompiler(ast)
1035}
1036
1037function applyTransformation(
1038 result: Effect.Effect<unknown, SchemaIssue.Issue, unknown>,

Callers 2

getParserMethod · 0.85
getParserMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected