BlogDocs

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

Merged
Merging
fix/empty-array
(
5337ec3
) into
main
(
aab4c82
)
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
+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
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
-1%
10.8 s
10.8 s
getPlatform
packages/get-platform/bench/get-platform.bench.ts::get-platform::getPlatform
-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
1 year 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
1 year 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
1 year ago
by SevInf
+66%
Add some comments
5337ec3
1 year ago
by SevInf
ResourcesHomePricingDocsBlogGitHubChangelog
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.