fix(client): Ensure empty array argument is not turned into object(#19414)

Merged
Merging
fix/empty-array
into
main
0%
IMPROVEMENTS
0
REGRESSIONS
0
UNTOUCHED
4
NEW
0
DROPPED
0

Benchmarks

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.4 s
typescript compilation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::typescript compilation ~50 Models
+1%
99.3 ms
98.6 ms
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
-1%
55.1 s
55.4 s
getPlatform
packages/get-platform/bench/get-platform.bench.ts::get-platform::getPlatform
-1%
70.7 ms
71.7 ms

Commits

Click on a commit to change the comparison range
No baseline data is yet availableOnce your main branch has generated a first performance report, you will see the list of commits and their performance impact here.
ResourcesHomePricingDocsBlogGitHub
Copyright © 2023 CodSpeed Technology SAS. All rights reserved.