This commit is contained in:
@@ -30,6 +30,10 @@ const userInst = User.create({ id: Option.some(1n), name: "User" })
|
||||
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({
|
||||
id: jsonify.bigint(s.shape.id)
|
||||
|
||||
Reference in New Issue
Block a user