Schema work
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Julien Valverdé
2024-03-19 17:41:41 +01:00
parent 27a8fc1c9b
commit c61f5332fc
5 changed files with 85 additions and 42 deletions

View File

@@ -32,7 +32,7 @@ const userInstEffect = User.createEffect({ id: Option.some(1n), name: "User" })
const jsonifiedOption = jsonify.option.some(
effect.option.some(z.literal("prout"))
).parse({})
)
const jsonifiedUserExp = JsonifiedZodSchemaClass(User, {
jsonifySchema: s => s.extend({