Avatar for the prisma user
prisma
prisma
BlogDocsChangelog

feat(client): Remove array shortcuts

#19474Merged
Comparing
feat/remove-array-shortcuts
(
913b78b
) with
main
(
3a95e6c
)
CodSpeed Performance Gauge
+1%
Improvements
0
Regressions
0
Untouched
4
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

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

Commits

Click on a commit to change the comparison range
Base
main
3a95e6c
+1%
feat(client): Remove array shortcut Stop expanding `T[]` to `T | T[]` during types generation unless both scalars and lists are allowed on the engine side. GraphQL encoder: Stop converting scalar values into single-element lists automatically. BREAKING CHANGE: automatic conversion of scalar values to lists is no longer performed unless explicitly allowed by the schema. Cases where this is no longer allowed will be caught by both compile- and runtime validation. Sibling to prisma/prisma-engines#3966
fa7eea1
2 years ago
by SevInf
+1%
feat(client): Remove array shortcut Stop expanding `T[]` to `T | T[]` during types generation unless both scalars and lists are allowed on the engine side. GraphQL encoder: Stop converting scalar values into single-element lists automatically. BREAKING CHANGE: automatic conversion of scalar values to lists is no longer performed unless explicitly allowed by the schema. Cases where this is no longer allowed will be caught by both compile- and runtime validation. Sibling to prisma/prisma-engines#3966 Fix #19303
03755ea
2 years ago
by SevInf
-4%
Fix tests
149d145
2 years ago
by SevInf
+3%
Update dmmf snapshots
913b78b
2 years ago
by SevInf
© 2025 CodSpeed Technology
Home Terms Privacy Docs