fix: client fails to reconnect after failure(#19422)

Merged
Merging
fix/bricked-client
into
main
-14%
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
-14%
99 ms
114.8 ms

Passing

client generation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::client generation ~50 Models
0%
9.4 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
+3%
55 s
53.5 s
getPlatform
packages/get-platform/bench/get-platform.bench.ts::get-platform::getPlatform
0%
70.7 ms
70.8 ms

Commits

Click on a commit to change the comparison range
fix(client): Ensure empty array argument is not turned into object (#19414) * fix(client): Ensure empty array argument is not turned into object Most of this PR deals with ensuring that validation error for array item is rendered correctly when using GraphQL protocol. For JSON protocol, it also adds a fix to a crash during nested array error rendering. Fix #18846 * Add some comments
base
261c792
6 months ago by SevInf
0%
fix: client fails to reconnect after failure
5abc896
6 months ago by Weakky
-65%
fix test
6596591
6 months ago by Weakky
+64%
add regression test
c5373fd
6 months ago by Weakky
+1%
typo fix
af76962
6 months ago by Weakky
-14%
exclude mongodb
0c7dede
6 months ago by Weakky
ResourcesHomePricingDocsBlogGitHub
Copyright © 2023 CodSpeed Technology SAS. All rights reserved.