Fix drizzle-zod
and drizzle-typebox
mapping refinements incorrectly
#3391
Annotations
8 errors
tests/sqlite.test.ts > refine table - select with custom data type:
drizzle-typebox/tests/utils.ts#L18
AssertionError: expected { Object (minimum, maximum, ...) } to strictly equal { minimum: -2147483648, …(2), …(1) }
- Expected
+ Received
Object {
"maximum": 1000,
- "minimum": -2147483648,
+ "minimum": -9007199254740991,
"type": "integer",
Symbol(TypeBox.Kind): "Integer",
}
❯ Object.from tests/utils.ts:18:65
❯ tests/sqlite.test.ts:211:34
|
release (drizzle-typebox)
Process completed with exit code 1.
|
release (drizzle-kit)
The job was canceled because "drizzle-typebox" failed.
|
release (drizzle-seed)
The job was canceled because "drizzle-typebox" failed.
|
release (drizzle-kit)
The operation was canceled.
|
release (drizzle-seed)
The operation was canceled.
|
release (drizzle-orm)
The job was canceled because "drizzle-typebox" failed.
|
release (drizzle-orm)
The operation was canceled.
|