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

Merged
Merging
fix/invalid-dates
into
main
-17%
IMPROVEMENTS
0
REGRESSIONS
1
UNTOUCHED
3
NEW
0
DROPPED
0

Benchmarks

Failing

typescript compilation ~50 Models
Regression
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::typescript compilation ~50 Models
-17%
98.7 ms
118.6 ms

Passing

client generation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::client generation ~50 Models
-1%
9.3 s
9.5 s
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
+2%
55.1 s
53.9 s
getPlatform
packages/get-platform/bench/get-platform.bench.ts::get-platform::getPlatform
+1%
71.3 ms
70.4 ms

Commits

Click on a commit to change the comparison range
chore(deps): update dependency @antfu/eslint-config to v0.39.1 (#19354) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
base
f1fe5b0
7 months ago by renovate[bot]
-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
7 months 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
7 months ago by SevInf
+16%
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
7 months ago by SevInf
-19%
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
7 months ago by SevInf
+12%
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
7 months ago by SevInf
-11%
Use `isDate` in more places
277d23a
7 months ago by SevInf
-16%
Fix GraphQL date error rendering
2bcdadd
7 months ago by SevInf
ResourcesHomePricingDocsBlogGitHub
Copyright © 2023 CodSpeed Technology SAS. All rights reserved.