refactor(cli): better type and error for tryToReadDataFromSchema(#18992)

Merged
Merging
joel/tweak-checkpoint-error
into
main
-17%
IMPROVEMENTS
0
REGRESSIONS
0
UNTOUCHED
3
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
-6%
6 s
6.4 s
typescript compilation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::typescript compilation ~50 Models
-17%
54.7 ms
65.7 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
+12%
58.4 s
52.3 s

Commits

Click on a commit to change the comparison range
fix(get-platform): remove x32 in isNodeAPISupported() isNodeAPISupported was added to test the Windwos 32bit node problem https://github.com/prisma/ecosystem-tests/pull/1830/files And it only returns ia32 Note that x32 was removed in Node 16+, see https://github.com/nodejs/node/pull/41905/files#diff-5212ec434ff69f31e0de5e7e6f57abd45d810780c60f05736ab31eae5a395186
base
bd95557
7 months ago by Jolg42
-13%
refactor(cli): better type and error for tryToReadDataFromSchema
a451b7d
7 months ago by Jolg42
-4%
tweak try catch
d07f1b9
7 months ago by Jolg42
ResourcesHomePricingDocsBlogGitHub
Copyright © 2023 CodSpeed Technology SAS. All rights reserved.