fix(cli): type errors in init and version(#19468)

Closed
Merging
joel/fix-version-init-types
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 ms
97.8 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
0%
55 s
55 s
getPlatform
packages/get-platform/bench/get-platform.bench.ts::get-platform::getPlatform
-1%
70.7 ms
71.5 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(cli): type errors in init and version
fb9d76b
6 months ago by Jolg42
ResourcesHomePricingDocsBlogGitHub
Copyright © 2023 CodSpeed Technology SAS. All rights reserved.