feat(cli): intro warning (30) support for RLS(#18701)

Merged
Merging
feat/intro-warning_rls
into
main
-26%
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
+25%
7 s
5.6 s
typescript compilation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::typescript compilation ~50 Models
-26%
45.2 ms
61.3 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
+13%
42.1 s
37.2 s

Commits

Click on a commit to change the comparison range
chore: fix eslint errors (#18587) ``` /Users/aqrln/prisma/prisma/packages/client/src/__tests__/integration/happy/signals/__helpers__/client.ts 9:3 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises /Users/aqrln/prisma/prisma/packages/client/src/generation/Cache.test.ts 32:20 error Replace toBeCalledTimes() with its canonical name of toHaveBeenCalledTimes() jest/no-alias-methods 41:20 error Replace toBeCalledTimes() with its canonical name of toHaveBeenCalledTimes() jest/no-alias-methods /Users/aqrln/prisma/prisma/packages/client/src/runtime/core/compositeProxy/cacheProperties.test.ts 18:28 error Replace toBeCalledTimes() with its canonical name of toHaveBeenCalledTimes() jest/no-alias-methods 59:28 error Replace toBeCalledTimes() with its canonical name of toHaveBeenCalledTimes() jest/no-alias-methods /Users/aqrln/prisma/prisma/packages/client/tests/e2e/nextjs-schema-not-found/18_monorepo-serverComponents-customOutput-reExportIndirect-ts/packages/service/app/test/[id]/page.tsx 3:8 error Async function 'generateStaticParams' has no 'await' expression @typescript-eslint/require-await /Users/aqrln/prisma/prisma/packages/client/tests/functional/relationMode-in-separate-gh-action/tests_m-to-n.ts 1:1 error Run autofix to sort these imports! simple-import-sort/imports /Users/aqrln/prisma/prisma/packages/engine-core/src/tracing/index.ts 1:1 error Run autofix to sort these exports! simple-import-sort/exports /Users/aqrln/prisma/prisma/packages/internals/src/utils/callOnce.test.ts 20:19 error Replace toBeCalledTimes() with its canonical name of toHaveBeenCalledTimes() jest/no-alias-methods 30:19 error Replace toBeCalledTimes() with its canonical name of toHaveBeenCalledTimes() jest/no-alias-methods ```
base
878c84f
8 months ago by aqrln
-18%
Added cli support for RLS intro warnings (30)
6c9b898
8 months ago by Druue
+31%
Added cli support for RLS intro warnings (30)
b0b30cb
8 months ago by Druue
-32%
fix spelling `setupPostgressForWarning` Co-authored-by: Jan Piotrowski <piotrowski+github@gmail.com>
fe5543f
8 months ago by Druue
-16%
remove extraneous comments
704f8ec
8 months ago by Druue
+8%
spelling
17951d6
8 months ago by Druue
+40%
Update packages/migrate/src/__tests__/DbPull.test.ts Co-authored-by: Alexey Orlenko <alex@aqrln.net>
c2142af
8 months ago by Druue
-39%
Update packages/migrate/src/__tests__/DbPull.test.ts Co-authored-by: Alexey Orlenko <alex@aqrln.net>
c0e3ae0
8 months ago by Druue
-3%
formatting & spelling
97687e3
8 months ago by Druue
+7%
formatting & spelling
f0378c6
8 months ago by Druue
-4%
revert if-check change
bccfe29
8 months ago by Druue
ResourcesHomePricingDocsBlogGitHub
Copyright © 2023 CodSpeed Technology SAS. All rights reserved.