Effect CommunityEC
Effect Community2mo ago
3 replies
dfg.codes

Issues with Using Effect Schema in Elysia Server

wanting to replace typebox in my elysia server with effect schema, but for some reason elysia doesnt like effect schemas
i can use zod and typebox interchangeably, but using S.Struct over z.object or t.Object throws
Type 'TypeLiteral<Fields, readonly [Record, ...Record[]]>' is missing the following properties from type 'TSchema': params, static, [Kind] [2322]
am i holding it wrong or does effect not implement the standard schema thing?
Was this page helpful?