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

Merging
Kayoshi-dev:feat/generate-an-example-schema
into
main
0%
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
+2%
8.3 s
8.1 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%
50.5 s
51.2 s
getPlatform
packages/get-platform/bench/get-platform.bench.ts::get-platform::getPlatform
0%
10.2 ms
10.2 ms

Commits

Click on a commit to change the comparison range
chore(deps): update engines to 5.4.0-20.53b99985c86f73501feb5d050668b0debee7afed (#21192)
base
c903e63
5 months ago by prisma-bot
-1%
feat(cli): Add a --with-model arg to generate an example schema Closes #20915
c159922
5 months ago by Kayoshi-dev
+2%
feat(cli): concat model with the defaultSchema closes #20915
c98a12b
5 months ago by Kayoshi-dev
-1%
style(cli): move new arg to flags and correct formatting
d635b1e
5 months ago by Kayoshi-dev
ResourcesHomePricingDocsBlogGitHub
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.