Avatar for the prisma user
prisma
prisma
BlogDocsChangelog

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

#21195Merged
Comparing
Kayoshi-dev:feat/generate-an-example-schema
(
d68daf1
) with
main
(
b4e6b64
)
CodSpeed Performance Gauge
-1%
Improvements
0
Regressions
0
Untouched
3
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
+3%
5.9 s
5.7 s
getBinaryTargetForCurrentPlatform
packages/get-platform/bench/get-platform.bench.ts::get-platform::getBinaryTargetForCurrentPlatform
CodSpeed Performance Gauge
0%
1.8 ms
1.8 ms
client generation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::client generation ~50 Models
CodSpeed Performance Gauge
-5%
952.7 ms
1,006.7 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
1 year ago
by Kayoshi-dev
+2%
feat(cli): concat model with the defaultSchema closes #20915
c98a12b
1 year ago
by Kayoshi-dev
-1%
style(cli): move new arg to flags and correct formatting
d635b1e
1 year ago
by Kayoshi-dev
-2%
Merge branch 'main' into feat/generate-an-example-schema
0301082
10 months ago
by Jolg42
+4%
refactor & fix
921c86f
10 months ago
by Jolg42
-3%
Update packages/cli/src/Init.ts
d68daf1
10 months ago
by Jolg42
Home Terms PrivacyDocs