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

This commit is contained in:
Julien Valverdé
2024-02-23 18:01:51 +01:00
parent 6c6e2cce7c
commit 03b769b74f
2 changed files with 96 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ const newTestExp = new ZodSchemaClassBuilder(TraitExpression.NullSuperclass, [])
jsonifySchema: ({ schema, shape }) => schema.extend({
id: jsonify.bigint(shape.id)
}),
dejsonifySchema: ({ schema, shape }) => schema.extend({
id: dejsonify.bigint(shape.id)
}),