Avatar for the prisma user
prisma
prisma
BlogDocsChangelog

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

#19414Merged
Comparing
fix/empty-array
(
5337ec3
) with
main
(
aab4c82
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
4
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

typescript compilation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::typescript compilation ~50 Models
CodSpeed Performance Gauge
+1%
20.1 ms
20 ms
client generation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::client generation ~50 Models
CodSpeed Performance Gauge
0%
1.8 s
1.8 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
CodSpeed Performance Gauge
-1%
10.8 s
10.8 s
getPlatform
packages/get-platform/bench/get-platform.bench.ts::get-platform::getPlatform
CodSpeed Performance Gauge
-1%
13.7 ms
13.9 ms

Commits

Click on a commit to change the comparison range
Base
main
aab4c82
0%
fix(client): Ensure empty array argument is not turned into object Fix #18846
16e47d3
2 years ago
by SevInf
-3%
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
65a7cb8
2 years ago
by SevInf
-63%
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
ba58179
2 years ago
by SevInf
+66%
Add some comments
5337ec3
2 years ago
by SevInf
© 2025 CodSpeed Technology
Home Terms Privacy Docs