We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae407ac commit e1ae8b6Copy full SHA for e1ae8b6
1 file changed
packages/orm/src/client/client-impl.ts
@@ -135,7 +135,7 @@ export class ClientImpl {
135
136
if (options.diagnostics) {
137
const diagnosticsSchema = z.object({
138
- slowQueryThresholdMs: z.int().nonnegative().optional(),
+ slowQueryThresholdMs: z.number().nonnegative().optional(),
139
slowQueryMaxRecords: z.int().nonnegative().optional(),
140
});
141
const parseResult = diagnosticsSchema.safeParse(options.diagnostics);
0 commit comments