Avatar for the prisma user
prisma
prisma
BlogDocsChangelog

fix(client): Correctly handle invalid dates in both protocols

#19154Merged
Comparing
fix/invalid-dates
(
2bcdadd
) with
main
(
f1fe5b0
)
CodSpeed Performance Gauge
-4%
Improvements
0
Regressions
0
Untouched
4
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

client generation 100 models with relations
packages/client/src/__tests__/benchmarks/lots-of-relations/lots-of-relations.bench.ts::typescript::client generation 100 models with relations
CodSpeed Performance Gauge
+2%
10.8 s
10.6 s
getPlatform
packages/get-platform/bench/get-platform.bench.ts::get-platform::getPlatform
CodSpeed Performance Gauge
+1%
13.8 ms
13.7 ms
client generation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::client generation ~50 Models
CodSpeed Performance Gauge
-2%
1.8 s
1.8 s
typescript compilation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::typescript compilation ~50 Models
CodSpeed Performance Gauge
-17%
20.1 ms
24.2 ms

Commits

Click on a commit to change the comparison range
Base
main
f1fe5b0
-75%
fix(client): Correctly handle invalid dates in both protocols For GraphQL protocol: stop converting invalid dates to `null`, generate proper error message. For JSON: show proper validation message pointing where exactly we encountered invalid date. Fix #18970
80cc70a
2 years ago
by SevInf
+76%
fix(client): Correctly handle invalid dates in both protocols For GraphQL protocol: stop converting invalid dates to `null`, generate proper error message. For JSON: show proper validation message pointing where exactly we encountered invalid date. Fix #18970
1bc80b6
2 years ago
by SevInf
+3%
fix(client): Correctly handle invalid dates in both protocols For GraphQL protocol: stop converting invalid dates to `null`, generate proper error message. For JSON: show proper validation message pointing where exactly we encountered invalid date. Fix #18970
25ef458
2 years ago
by SevInf
-6%
fix(client): Correctly handle invalid dates in both protocols For GraphQL protocol: stop converting invalid dates to `null`, generate proper error message. For JSON: show proper validation message pointing where exactly we encountered invalid date. Fix #18970
ba99cd6
2 years ago
by SevInf
+4%
fix(client): Correctly handle invalid dates in both protocols For GraphQL protocol: stop converting invalid dates to `null`, generate proper error message. For JSON: show proper validation message pointing where exactly we encountered invalid date. Fix #18970
40d6947
2 years ago
by SevInf
-3%
Use `isDate` in more places
277d23a
2 years ago
by SevInf
-4%
Fix GraphQL date error rendering
2bcdadd
2 years ago
by SevInf
© 2025 CodSpeed Technology
Home Terms Privacy Docs