BlogDocs

feat(cli): Add a --with-model arg to generate an example schema(#21195)

Merged
Merging
Kayoshi-dev:feat/generate-an-example-schema
(
d68daf1
) into
main
(
b4e6b64
)
-1%
IMPROVEMENTS
0
REGRESSIONS
0
UNTOUCHED
3
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

client generation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::client generation ~50 Models
-5%
952.7 ms
1,006.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
+3%
5.9 s
5.7 s
getBinaryTargetForCurrentPlatform
packages/get-platform/bench/get-platform.bench.ts::get-platform::getBinaryTargetForCurrentPlatform
0%
1.8 ms
1.8 ms

Commits

Click on a commit to change the comparison range
base
main
b4e6b64
-1%
feat(cli): Add a --with-model arg to generate an example schema Closes #20915
c159922
10 months ago
by Kayoshi-dev
+2%
feat(cli): concat model with the defaultSchema closes #20915
c98a12b
10 months ago
by Kayoshi-dev
-1%
style(cli): move new arg to flags and correct formatting
d635b1e
10 months ago
by Kayoshi-dev
-2%
Merge branch 'main' into feat/generate-an-example-schema
0301082
3 months ago
by Jolg42
+4%
refactor & fix
921c86f
3 months ago
by Jolg42
-3%
Update packages/cli/src/Init.ts
d68daf1
3 months ago
by Jolg42
ResourcesHomePricingDocsBlogGitHub
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.