The Prisma ORM: write your application in TypeScript with human-readable queries instead of SQL. Host your database on Prisma Postgres and your app on Prisma Compute.
This report summarizes scanner evidence for prisma/orm, a TypeScript project with 47,658 GitHub stars. SynthScan examined 1,220,146 lines of code across 8046 source files, recording 1711 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 2.0 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 1494 finding(s).
Are imports declared and package/API names verified? 130 finding(s).
Are wrappers, guards, and repeated structures necessary? 1314 finding(s).
Which changes need focused human review? 1711 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 1711 distinct pattern matches across 10 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ion/scripts/expand-type-aliases/expand-type-aliases.ts | 812 | function spaceOfMigrationsDirectory(dir: string): SpaceKind { | CODE |
| LOW | …app/scripts/expand-type-aliases/expand-type-aliases.ts | 812 | function spaceOfMigrationsDirectory(dir: string): SpaceKind { | CODE |
| LOW | …s/value-objects-in-storage/value-objects-in-storage.ts | 496 | function withValueObjectCoordinate( | CODE |
| LOW | …s/value-objects-in-storage/value-objects-in-storage.ts | 562 | function writeDiscriminatorValueSets( | CODE |
| LOW | …s/value-objects-in-storage/value-objects-in-storage.ts | 893 | function withStorageNamespacesArgument(text: string): string { | CODE |
| LOW | …s/data-types-column-defaults/extension/instructions.md | 251 | export function createPostgresDataTypeEntries(): Readonly<Record<string, AuthoringDataTypeEntry>> { | CODE |
| LOW | …s/data-types-column-defaults/extension/instructions.md | 278 | export function createPostgresDefaultMapping(): DefaultMappingOptions { | CODE |
| LOW | test/integration/test/postgres-bootstrap.ts | 30 | export async function bootstrapPostgresSignMarkerTables(client: Client): Promise<void> { | CODE |
| LOW | test/integration/test/postgres-bootstrap.ts | 42 | export async function bootstrapPostgresControlSchema(client: Client): Promise<void> { | CODE |
| LOW | test/integration/test/postgres-bootstrap.ts | 56 | export async function bootstrapPostgresControlTables(client: Client): Promise<void> { | CODE |
| LOW | …egration/test/cli.migration-plan-ref-aware.e2e.test.ts | 69 | function listAppMigrationBundleDirs(ctx: JourneyContext): string[] { | CODE |
| LOW | …egration/test/cli.migration-plan-ref-aware.e2e.test.ts | 80 | async function runAutoBaselinePlanAndEmit( | CODE |
| LOW | test/integration/test/cli.db-update.e2e.test.ts | 18 | function addNicknameColumnToContract(testDir: string): void { | CODE |
| LOW | test/integration/test/cli.db-update.e2e.test.ts | 153 | async function switchToProjectSlugVariant(testSetup: DbUpdateTestSetup): Promise<void> { | CODE |
| LOW | test/integration/test/utils.ts | 99 | export async function createTestRuntimeFromClient( | CODE |
| LOW | …tegration/test/cli.control-policy.postgres.e2e.test.ts | 40 | async function setupControlPolicyPostgresFixture( | CODE |
| LOW | …tegration/test/cli.control-policy.postgres.e2e.test.ts | 52 | async function setupExternalFloorFixture( | CODE |
| LOW | …t/integration/test/cli.migrate-drift-check.e2e.test.ts | 52 | function removeAppMigrationBundles(ctx: JourneyContext): void { | CODE |
| LOW | test/integration/test/cli.db-verify.e2e.test.ts | 141 | async function createMatchingSchemaAndMarker( | CODE |
| LOW | …/integration/test/cli.control-policy.mongo.e2e.test.ts | 19 | async function writeEmittedContractArtifacts(testDir: string): Promise<void> { | CODE |
| LOW | …/integration/test/cli.control-policy.mongo.e2e.test.ts | 30 | async function seedExternalAndObservedCollections(db: Db): Promise<void> { | CODE |
| LOW | …/integration/test/cli.control-policy.mongo.e2e.test.ts | 37 | async function setupControlPolicyMongoFixture( | CODE |
| LOW | …tion/test/contract-format/cli-contract-loading.test.ts | 55 | async function emittedWithValueObjectColumn(): Promise<string> { | CODE |
| LOW | …n/test/value-objects/value-objects.integration.test.ts | 195 | function valueObjectsAtDefaultNamespace(contract: Contract) { | CODE |
| LOW | …ration/test/cross-package/middleware-cache-database.ts | 51 | export function useMiddlewareCacheDatabase(): MiddlewareCacheDatabase { | CODE |
| LOW | …/psl-infer/marked-types-round-trip.integration.test.ts | 40 | function dataTypesWithMarkedConstructor(namespace: AuthoringTypeNamespace): readonly string[] { | CODE |
| LOW | …umber-defaults/psl-number-defaults.integration.test.ts | 63 | async function authorSqliteContractFromPsl(pslSchema: string) { | CODE |
| LOW | …source/implicit-many-to-many-names.integration.test.ts | 56 | function interpretedJunctionFields( | CODE |
| LOW | …tion/test/prisma7-source/supported.integration.test.ts | 58 | async function interpretVerifiableSchema(): Promise<unknown> { | CODE |
| LOW | test/integration/test/utils/tracked-contract-files.ts | 12 | export function trackedContractCandidateFiles(repoRoot: string): readonly string[] { | CODE |
| LOW | test/integration/test/utils/journey-test-helpers.ts | 530 | export function injectMigrationSqlDbSetup(scaffold: string): string { | CODE |
| LOW | test/integration/test/utils/journey-test-helpers.ts | 636 | export function followRenameCollectionAdvice(source: string, from: string, to: string): string { | CODE |
| LOW | test/integration/test/utils/journey-test-helpers.ts | 695 | export async function runContractEmitWithConfig( | CODE |
| LOW | test/integration/test/utils/journey-test-helpers.ts | 842 | export function readEmittedContractStorageHash(ctx: JourneyContext): string { | CODE |
| LOW | test/integration/test/utils/db-sign-spaces-helpers.ts | 90 | export async function expectProjectWorksAgainstDatabase(project: Project): Promise<void> { | CODE |
| LOW | test/integration/test/utils/db-sign-spaces-helpers.ts | 112 | export async function postgresMarkerTableExists(connectionString: string): Promise<boolean> { | CODE |
| LOW | test/integration/test/utils/cli-test-helpers.ts | 235 | export function setupTestDirectoryFromFixtures( | CODE |
| LOW | test/integration/test/utils/cli-test-helpers.ts | 297 | export function setupIntegrationTestDirectoryFromFixtures( | CODE |
| LOW | test/integration/test/utils/cli-test-helpers.ts | 445 | export function clearDbRefForGreenfieldPlan(testDir: string): void { | CODE |
| LOW | …st/integration/test/utils/journey-workspace-helpers.ts | 80 | export function postgresDataMigrationHeader(endStorageHash: string): string { | CODE |
| LOW | …st/integration/test/utils/journey-workspace-helpers.ts | 107 | export function mongoDataMigrationImports(): string { | CODE |
| LOW | …st/integration/test/utils/journey-workspace-helpers.ts | 192 | export async function inferPostgresNamespacePsl( | CODE |
| LOW | …/test/authoring/psl.pgvector-data-type-default.test.ts | 33 | async function materialisePgvectorPinnedArtifacts(projectRoot: string): Promise<string> { | CODE |
| LOW | …ration/test/authoring/cli.emit-parity-fixtures.test.ts | 74 | function assertContractJsonOmitsSourceProvenance(contractJson: Record<string, unknown>): void { | CODE |
| LOW | …ration/test/authoring/cli.emit-parity-fixtures.test.ts | 94 | function parseExpectedDiagnosticsFixture( | CODE |
| LOW | …ration/test/authoring/authoring-parity-test-helpers.ts | 40 | export function listAuthoringParityFixtureCases(): readonly AuthoringParityFixtureCase[] { | CODE |
| LOW | …ration/test/authoring/authoring-parity-test-helpers.ts | 80 | export function listAuthoringDiagnosticsFixtureCases(): readonly AuthoringDiagnosticsFixtureCase[] { | CODE |
| LOW | …ration/test/authoring/authoring-parity-test-helpers.ts | 113 | export function setupIntegrationTestDirectoryForAuthoringParityCase( | CODE |
| LOW⚡ | …egration/test/authoring/side-by-side-contracts.test.ts | 127 | function writeExpectedContractJson(fixtureCase: FixtureCase, contractJson: string): void { | CODE |
| LOW⚡ | …egration/test/authoring/side-by-side-contracts.test.ts | 131 | function validateEmittedSqlContract(contractJson: Record<string, unknown>) { | CODE |
| LOW⚡ | …egration/test/authoring/side-by-side-contracts.test.ts | 135 | function validateEmittedMongoContract(contractJson: Record<string, unknown>) { | CODE |
| LOW | …integration/test/authoring/psl.pgvector-dbinit.test.ts | 33 | async function materialisePgvectorPinnedArtifacts(projectRoot: string): Promise<string> { | CODE |
| LOW | …t/integration/test/authoring/psl.citext-dbinit.test.ts | 39 | async function materialiseCitextPinnedArtifacts(projectRoot: string): Promise<string> { | CODE |
| LOW | …authoring/parity/ts-psl-parity.value-arguments.test.ts | 68 | function interpretPostgresWithExtensions(schema: string) { | CODE |
| LOW | …st/integration/test/scalar-lists/psl-list-authoring.ts | 129 | export async function authorMongoContractFromPsl(schema: string): Promise<MongoAuthoringResult> { | CODE |
| LOW | …ntegration/test/date-time-defaults/sqlite-authoring.ts | 24 | export async function authorSqliteContractFromPsl(pslSchema: string) { | CODE |
| LOW | test/integration/test/sql-orm-client/helpers.ts | 139 | export function getExecutionDefaultedTagsContract(): ExecutionDefaultedTagsContract { | CODE |
| LOW | …ent/polymorphism-variant-include-relationships.test.ts | 13 | async function setupVariantAssigneeSchema(runtime: PgIntegrationRuntime): Promise<void> { | CODE |
| LOW | …t/integration/test/sql-orm-client/where-unique.test.ts | 24 | function createReturningUserRolesCollection(runtime: PgIntegrationRuntime) { | CODE |
| LOW | test/integration/test/sql-orm-client/include.test.ts | 45 | function createUsersCollectionWithCapabilities( | CODE |
| 1167 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | CHANGELOG.md | 568 | - Packages contribute collection methods computed from a model, under `using`. The Postgres package adds a search method | CODE |
| CRITICAL | …urces/orm-using-collection-methods/app/instructions.md | 5 | Every ORM collection has a `using` member, which holds the collection methods packages contribute for the model, s | CODE |
| CRITICAL | …urces/orm-using-collection-methods/app/instructions.md | 14 | A collection's `using` member holds the collection methods that packages contribute for the model. The Postgres target c | CODE |
| CRITICAL | …uctions/closed-client-members-reject/detection.test.ts | 55 | ['a client on this', "try {\n this.db.orm.public.User.create({ name: 'Ada' });\n} catch {}"], | CODE |
| CRITICAL | …egration/test/enum-members/enum-members.sqlite.test.ts | 124 | client.enums.When.members.Sunset.getTime() === row.when.getTime(), | CODE |
| CRITICAL | …n/test/uuid-defaults/uuid-defaults.integration.test.ts | 222 | checks: emitted.storage.namespaces.public.entries.table.T.checks.map( | CODE |
| CRITICAL | …gration/test/contract-parity/orm-input-types.test-d.ts | 69 | const emitted = await postgresScalar.emitted.orm.public.Scalar.select( | CODE |
| CRITICAL | …gration/test/contract-parity/orm-input-types.test-d.ts | 74 | const built = await postgresScalar.built.orm.public.Scalar.select( | CODE |
| CRITICAL | …gration/test/contract-parity/orm-input-types.test-d.ts | 119 | const emitted = await postgresParity.emitted.orm.public.Generated.select('id', 'ulid').first(); | CODE |
| CRITICAL | …gration/test/contract-parity/orm-input-types.test-d.ts | 120 | const built = await postgresParity.built.orm.public.Generated.select('id', 'ulid').first(); | CODE |
| CRITICAL | docs/releases/v8.0.0-rc.19.md | 179 | - Packages contribute collection methods computed from a model, under `using`. The Postgres package adds a search method | CODE |
| CRITICAL | docs/architecture docs/ADR-INDEX.md | 80 | | 272 | Packages contribute collection methods computed from a model | **Accepted.** A package reads each model of the c | CODE |
| CRITICAL | …ecture docs/patterns/declaration-merging-registries.md | 8 | The Postgres target gives every model with a full-text index a method, `db.orm.public.Post.using.post_search(q)`, and pg | CODE |
| CRITICAL | …ternal access is a service_role-only secondary root.md | 11 | const users = await admin.supabase.orm.auth.AuthUser.select('id', 'email').all(); | CODE |
| CRITICAL | …ternal access is a service_role-only secondary root.md | 13 | .execute(admin.supabase.sql.auth.sessions.select('id', 'aal').build()) | CODE |
| CRITICAL | …contribute collection methods computed from a model.md | 33 | await db.orm.public.Post.using.post_search(websearchToTsquery('zebra crossing')).limit(10).all(); | CODE |
| CRITICAL | …contribute collection methods computed from a model.md | 121 | A method's result has `Filtered` and `Ordered` (ADR 265) only as its type half declares. A nearest-neighbour search filt | CODE |
| CRITICAL | …contribute collection methods computed from a model.md | 151 | Contributed methods sit under one member, `using`, on every collection: `db.orm.public.Post.using.post_search(q)`. The n | CODE |
| CRITICAL | …contribute collection methods computed from a model.md | 209 | db.orm.public.Post.using.post_search(q).orderBy((p) => p.id.asc()); // by relevance, then by id among equal matche | CODE |
| CRITICAL | …contribute collection methods computed from a model.md | 233 | - **A method name in two parts, element then operation, `db.orm.public.Post.using.embedding.nearest(v)`.** A package tha | CODE |
| CRITICAL⚡ | …acade/test/full-text-collection-method.types.test-d.ts | 18 | expectTypeOf(client.orm.public.User.using.users_search(q)).toExtend<HasWhere & HasOrderBy>(); | CODE |
| CRITICAL⚡ | …acade/test/full-text-collection-method.types.test-d.ts | 19 | expectTypeOf(client.orm.public.User.using.users_search(q)).not.toBeAny(); | CODE |
| CRITICAL⚡ | …acade/test/full-text-collection-method.types.test-d.ts | 28 | client.orm.public.User.using.users_search('zebra'); | CODE |
| CRITICAL | packages/3-extensions/pgvector/README.md | 130 | await db.orm.public.Post.using.embedding_nearest(queryVector, 0.5).limit(10).all(); | CODE |
| CRITICAL | packages/3-extensions/supabase/README.md | 87 | .query(admin.supabase.sql.auth.users.select('id', 'email').build()) | CODE |
| CRITICAL | …ages/3-extensions/supabase/test/supabase-close.test.ts | 80 | const authPlan = admin.supabase.sql.auth.users.select('id').build(); | CODE |
| CRITICAL | …ages/3-extensions/supabase/test/supabase-close.test.ts | 107 | await expect(admin.supabase.orm.auth.AuthUser.all()).rejects.toMatchObject(closedError); | CODE |
| CRITICAL | packages/3-extensions/supabase/test/no-database.test.ts | 247 | const plan = admin.supabase.sql.auth.users.select('id').limit(1).build(); | CODE |
| CRITICAL | …base/test/explicit-namespace-query.integration.test.ts | 240 | .query(sr.supabase.sql.auth.users.select('email').build()) | CODE |
| CRITICAL | packages/3-extensions/sql-orm-client/README.md | 119 | await db.orm.public.Post.using.post_search(q).limit(10).all(); | CODE |
| CRITICAL | packages/3-extensions/sql-orm-client/README.md | 338 | Ungrouped collections also expose `.prepared.aggregate(selector, configure?)`. For example, `db.prepare({}, () => db.orm | CODE |
| CRITICAL | …-tooling/vite-plugin-contract-emit/test/plugin.test.ts | 164 | return server.watcher.on.mock.calls.find(([registeredEvent]) => registeredEvent === event)?.[1] as | CODE |
| CRITICAL | …-tooling/vite-plugin-contract-emit/test/plugin.test.ts | 486 | const closeHandler = mockServer.httpServer.on.mock.calls.find( | CODE |
| CRITICAL | packages/2-sql-family/5-runtime/test/prepared.test.ts | 260 | const lastCall = driver.__spies.query.mock.calls.at(-1); | CODE |
| CRITICAL | packages/2-sql-family/5-runtime/test/prepared.test.ts | 349 | const lastCall = driver.__spies.query.mock.calls.at(-1); | CODE |
| CRITICAL | skills/prisma-8/references/queries-postgres.md | 137 | The relevance order is added where the method is called: an `orderBy` before it sorts first, one after it breaks ties. A | CODE |
| CRITICAL | skills/prisma-8/references/supabase.md | 160 | admin.supabase.sql.auth.users.select('id', 'email').build(), | CODE |
| CRITICAL | skills/prisma-8/references/supabase.md | 164 | const sessions = await admin.supabase.orm.auth.AuthSession.select('id', 'aal').all(); | CODE |
| CRITICAL | …pp/upgrades/8.0.0-rc.18-to-8.0.0-rc.19/instructions.md | 225 | Every ORM collection has a `using` member, which holds the collection methods packages contribute for the model, s | CODE |
| CRITICAL | …pp/upgrades/8.0.0-rc.18-to-8.0.0-rc.19/instructions.md | 1289 | A collection's `using` member holds the collection methods that packages contribute for the model. The Postgres target c | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …risma/functional/extended-where/extended-where.test.ts | 73 | // ─── findMany with cursor (it.fails: exclusive vs inclusive) ───────────── | COMMENT |
| MEDIUM | …risma/functional/extended-where/extended-where.test.ts | 120 | // ─── findFirst with cursor (it.fails: exclusive vs inclusive) ──────────── | COMMENT |
| MEDIUM | …risma/functional/extended-where/extended-where.test.ts | 163 | // ─── findFirstOrThrow with cursor (it.fails: exclusive vs inclusive) ────── | COMMENT |
| MEDIUM | …risma/functional/extended-where/extended-where.test.ts | 207 | // ─── findUnique ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …risma/functional/extended-where/extended-where.test.ts | 276 | // ─── findUniqueOrThrow ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …risma/functional/extended-where/extended-where.test.ts | 316 | // ─── create with connect ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …risma/functional/extended-where/extended-where.test.ts | 374 | // ─── update ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …risma/functional/extended-where/extended-where.test.ts | 415 | // ─── upsert ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …risma/functional/extended-where/extended-where.test.ts | 469 | // ─── delete ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …ts/prisma/functional/multi-schema/multi-schema.test.ts | 27 | // ─── helpers ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …ts/prisma/functional/multi-schema/multi-schema.test.ts | 45 | // ─── mapTable = false ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ts/prisma/functional/multi-schema/multi-schema.test.ts | 153 | // ─── mapTable = IDENTICAL_NAMES ────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ts/prisma/functional/multi-schema/multi-schema.test.ts | 261 | // ─── mapTable = DIFFERENT_NAMES ────────────────────────────────────────────── | COMMENT |
| MEDIUM | …elation-mode-gh-1-to-1/relation-mode-gh-1-to-1.test.ts | 154 | // ── [create] ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …elation-mode-gh-1-to-1/relation-mode-gh-1-to-1.test.ts | 213 | // ── [update] ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …elation-mode-gh-1-to-1/relation-mode-gh-1-to-1.test.ts | 513 | // ── [delete] ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …elation-mode-gh-1-to-n/relation-mode-gh-1-to-n.test.ts | 108 | // ── [create] ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …elation-mode-gh-1-to-n/relation-mode-gh-1-to-n.test.ts | 184 | // ── [update] ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …elation-mode-gh-1-to-n/relation-mode-gh-1-to-n.test.ts | 278 | // ── [delete] ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | examples/mongo-demo/test/query-builder-writes.test.ts | 46 | // ── M2: basic CRUD ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | examples/mongo-demo/test/query-builder-writes.test.ts | 119 | // ── M3: find-and-modify / upserts ──────────────────────────────────── | COMMENT |
| MEDIUM | examples/mongo-demo/test/query-builder-writes.test.ts | 194 | // ── M4: pipeline-style updates / $merge / $out ─────────────────────── | COMMENT |
| MEDIUM | …3-tooling/cli/test/utils/formatters/gallery-goldens.ts | 169 | // ── linear ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …3-tooling/cli/test/utils/formatters/gallery-goldens.ts | 208 | // ── fork-2 ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …3-tooling/cli/test/utils/formatters/gallery-goldens.ts | 270 | // ── merge-2 ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …3-tooling/cli/test/utils/formatters/gallery-goldens.ts | 326 | // ── diamond ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …3-tooling/cli/test/utils/formatters/gallery-goldens.ts | 400 | // ── two-component ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …3-tooling/cli/test/utils/formatters/gallery-goldens.ts | 431 | // ── asymmetric-diamond ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …3-tooling/cli/test/utils/formatters/gallery-goldens.ts | 464 | // ── continued-merge ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/cli/test/utils/formatters/gallery-goldens-backlink.ts | 179 | // ── rollback-adjacent ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/cli/test/utils/formatters/gallery-goldens-backlink.ts | 235 | // ── rollback-arc ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/cli/test/utils/formatters/gallery-goldens-backlink.ts | 298 | // ── rollback-merge ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/cli/test/utils/formatters/gallery-goldens-backlink.ts | 385 | // ── rollback-merge-3 ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/cli/test/utils/formatters/gallery-goldens-backlink.ts | 422 | // ── rollback-cross ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/cli/test/utils/formatters/gallery-goldens-backlink.ts | 499 | // ── self-loop ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/cli/test/utils/formatters/gallery-goldens-backlink.ts | 540 | // ── fan-3 ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/cli/test/utils/formatters/gallery-goldens-backlink.ts | 643 | // ── wide-fan ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/utils/formatters/migration-graph-lane-colours.test.ts | 223 | // ──────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/utils/formatters/migration-graph-lane-colours.test.ts | 225 | // ──────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/utils/formatters/migration-graph-lane-colours.test.ts | 264 | // ──────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/utils/formatters/migration-graph-lane-colours.test.ts | 266 | // ──────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …li/src/utils/formatters/migration-graph-grid-layout.ts | 325 | // ── Back-arc planning ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …li/src/utils/formatters/migration-graph-grid-layout.ts | 396 | // ── planeLane: z-order for back-arcs ──────────────────────────────────── | COMMENT |
| MEDIUM | …li/src/utils/formatters/migration-graph-grid-layout.ts | 408 | // ── colourLane: greedy assignment (flat mode) ───────────────────────────── | COMMENT |
| MEDIUM | …li/src/utils/formatters/migration-graph-grid-layout.ts | 563 | // ── Role + plane: mode/z-order seam ────────────────────────────────────── | COMMENT |
| MEDIUM | …li/src/utils/formatters/migration-graph-grid-layout.ts | 595 | // ── LineRef + cell builders (role-aware) ───────────────────────────────── | COMMENT |
| MEDIUM | …li/src/utils/formatters/migration-graph-grid-layout.ts | 666 | // ── Back-arc helpers ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …li/src/utils/formatters/migration-graph-grid-layout.ts | 857 | // ── The continuous line ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …li/src/utils/formatters/migration-graph-grid-layout.ts | 906 | // ── 1. Fork connector (BEFORE the node row) ────────────────────────── | COMMENT |
| MEDIUM | …li/src/utils/formatters/migration-graph-grid-layout.ts | 932 | // ── 2. Self-loop rows (BEFORE the node row) ─────────────────────────── | COMMENT |
| MEDIUM | …li/src/utils/formatters/migration-graph-grid-layout.ts | 955 | // ── 3. Node row ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …li/src/utils/formatters/migration-graph-grid-layout.ts | 1034 | // ── 3b. Back-arc arrow rows ────────────────────────────────────────────── | COMMENT |
| MEDIUM | …li/src/utils/formatters/migration-graph-grid-layout.ts | 1054 | // ── 4. Merge connector (AFTER the node row) ──────────────────────────── | COMMENT |
| MEDIUM | …li/src/utils/formatters/migration-graph-grid-layout.ts | 1066 | // ── 5. Migration rows (one per inbound edge, ordered by edge lane) ───── | COMMENT |
| MEDIUM | …li/src/utils/formatters/migration-graph-grid-layout.ts | 1082 | // ── 5b. Adjacent rollback ↓ rows ───────────────────────────────────────── | COMMENT |
| MEDIUM | …li/src/utils/formatters/migration-graph-grid-layout.ts | 1102 | // ── 6. Root lane deactivation ───────────────────────────────────────── | COMMENT |
| MEDIUM | …rk/0-foundation/contract/test/contract-types.test-d.ts | 13 | // ── Example literal types for proofs ───────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …rk/0-foundation/contract/test/contract-types.test-d.ts | 71 | // ── ContractModel generic storage ──────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …rk/0-foundation/contract/test/contract-types.test-d.ts | 81 | // ── StorageBase ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …rk/0-foundation/contract/test/contract-types.test-d.ts | 87 | // ── Literal type preservation ──────────────────────────────────────────────── | COMMENT |
| 27 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pnpm-workspace.yaml | 61 | # prisma@7.10.0). Prisma's 7.x releases stopped carrying provenance attestation at | COMMENT |
| LOW | …contract-value/extension/scripts/contract-from-json.ts | 1 | // Moves every Prisma 8 client call that passes `contractJson` to a contract value: | COMMENT |
| LOW | …takes-contract-value/app/scripts/contract-from-json.ts | 1 | // Moves every Prisma 8 client call that passes `contractJson` to a contract value: | COMMENT |
| LOW | …es/multifile-psl-glob-config/extension/instructions.md | 1 | --- | COMMENT |
| LOW | test/integration/vitest.config.ts | 21 | // reaped by the wasm code GC, and the process-global refcounted | COMMENT |
| LOW | test/integration/vitest.config.ts | 41 | // --no-wasm-tier-up stops background tier-up producing dead Liftoff | COMMENT |
| LOW | test/integration/test/dsl-type-inference.test-d.ts | 1 | import { int4Column, textColumn } from '@internal/adapter-postgres/column-types'; | COMMENT |
| LOW | …egration/test/sql-orm-client/relation-order-by.test.ts | 1 | // Integration coverage for ordering a collection by a relation. | COMMENT |
| LOW | …t/integration/test/sql-orm-client/polymorphism.test.ts | 1 | import { Collection } from '@internal/sql-orm-client'; | COMMENT |
| LOW | test/integration/test/sql-orm-client/include.test.ts | 241 | COMMENT | |
| LOW | test/integration/test/sql-orm-client/mn-include.test.ts | 1 | // Integration coverage for M:N include (User -> tags via user_tags junction). | COMMENT |
| LOW | …ntegration/test/sql-orm-client/nested-includes.test.ts | 1 | // Integration coverage for nested includes (depth >= 2) on the default | COMMENT |
| LOW | …ntegration/test/sql-orm-client/nested-includes.test.ts | 21 | // author: belongsTo User (from userId) | COMMENT |
| LOW | …-orm-client/polymorphism-include-relationships.test.ts | 1 | import { Collection } from '@internal/sql-orm-client'; | COMMENT |
| LOW | …est/sql-orm-client/nested-includes-refinements.test.ts | 1 | // Integration coverage for nested includes (depth >= 2) when the | COMMENT |
| LOW | test/integration/test/sql-orm-client/mn-filter.test.ts | 1 | // Integration coverage for M:N relation filters via junction EXISTS. | COMMENT |
| LOW | …n/test/sql-orm-client/nested-includes-strategy.test.ts | 1 | // Integration coverage for nested includes (depth >= 2) lowered to the | COMMENT |
| LOW | …n/test/sql-orm-client/nested-includes-strategy.test.ts | 501 | // Sentinel coverage for the dispatch boundary: include trees with | COMMENT |
| LOW | …ntegration/test/sql-orm-client/mn-nested-write.test.ts | 1 | // Integration coverage for M:N nested writes through the junction table. | COMMENT |
| LOW | …/integration/test/sql-orm-client/mn-psl-parity.test.ts | 1 | // PSL <-> TS-builder parity for the M:N ORM API. | COMMENT |
| LOW | …/test/sql-orm-client/mutation-include-readback.test.ts | 1 | import { describe, expect, it } from 'vitest'; | COMMENT |
| LOW | …rm-client/nested-includes-distinct-refinements.test.ts | 1 | // Integration coverage for `distinct()` on a non-leaf include combined | COMMENT |
| LOW | test/integration/test/sql-orm-client/runtime-helpers.ts | 101 | // The runtime validates each plan's storageHash against this contract, so | COMMENT |
| LOW | …n/test/sql-orm-client/nested-includes-distinct.test.ts | 1 | // Integration coverage for `distinct()` on a non-leaf include under the | COMMENT |
| LOW | …n/test/sql-orm-client/nested-includes-distinct.test.ts | 261 | }); | COMMENT |
| LOW | …ion/test/cli-journeys/migration-round-trip.e2e.test.ts | 81 | `INSERT INTO "public"."user" (id, email) VALUES (1, 'alice@example.com'), (2, 'bob@test.org')`, | COMMENT |
| LOW | …integration/test/cli-journeys/init-journey.e2e.test.ts | 141 | timeouts.coldTransformImport, | COMMENT |
| LOW | …/integration/test/cli-journeys/init-journey/harness.ts | 261 | } | COMMENT |
| LOW | …st-upsert-update/composites-list-upsert-update.test.ts | 1 | import { ObjectId } from 'mongodb'; | COMMENT |
| LOW | …st-upsert-update/composites-list-upsert-update.test.ts | 21 | // - set shorthand → upsert update with whole-list replacement | COMMENT |
| LOW | …risma/functional/extended-where/extended-where.test.ts | 1 | import { randomBytes } from 'node:crypto'; | COMMENT |
| LOW | …risma/functional/extended-where/extended-where.test.ts | 21 | // - validation tests: Prisma-specific error message snapshots + | COMMENT |
| LOW | …onal/composites-selection/composites-selection.test.ts | 1 | import { describe, expect, expectTypeOf, it } from 'vitest'; | COMMENT |
| LOW | …isma/functional/relation-mode-gh-m-to-n/create.test.ts | 21 | // | COMMENT |
| LOW | …s/prisma/functional/relation-mode-gh-m-to-n/_shared.ts | 1 | import type { PortContext } from '../../../../_harness/postgres'; | COMMENT |
| LOW | …isma/functional/relation-mode-gh-m-to-n/update.test.ts | 21 | expectedJunctionIfNoChange, | COMMENT |
| LOW | …isma/functional/relation-mode-gh-m-to-n/update.test.ts | 261 | expect(await allJunction(db)).toEqual(expectedJunctionIfNoChange); | COMMENT |
| LOW | …ma/functional/relation-mode-gh-m-to-n/emit-map.test.ts | 1 | import { mkdtempSync, rmSync } from 'node:fs'; | COMMENT |
| LOW | …isma/functional/relation-mode-gh-m-to-n/delete.test.ts | 21 | expectedJunctionIfNoChange, | COMMENT |
| LOW | …ssues-14954-date-batch/issues-14954-date-batch.test.ts | 1 | import { describe, expect, it } from 'vitest'; | COMMENT |
| LOW | …dollar-in-search/issues-13089-dollar-in-search.test.ts | 1 | import { ObjectId } from 'mongodb'; | COMMENT |
| LOW | …/issues-TML-1664-unknown-enum-value-read-error.test.ts | 21 | // RUNTIME.DECODE_FAILED or a SqlQueryError). | COMMENT |
| LOW | …posites-object-update/composites-object-update.test.ts | 1 | import { ObjectId } from 'mongodb'; | COMMENT |
| LOW | …posites-object-update/composites-object-update.test.ts | 21 | // - set null shorthand → update({ content: null }) | COMMENT |
| LOW | …object-createMany/composites-object-createMany.test.ts | 1 | import { describe, expect, it } from 'vitest'; | COMMENT |
| LOW | …s-18970-invalid-date/issues-18970-invalid-date.test.ts | 1 | import { describe, expect, it } from 'vitest'; | COMMENT |
| LOW | …s-28591-mapped-enums/issues-28591-mapped-enums.test.ts | 1 | import { describe, expect, it } from 'vitest'; | COMMENT |
| LOW | …orts/prisma/functional/issues-4004/issues-4004.test.ts | 1 | import { describe, expect, it } from 'vitest'; | COMMENT |
| LOW | …ssion/issues-29176-cursor-parameter-regression.test.ts | 1 | import { randomUUID } from 'node:crypto'; | COMMENT |
| LOW | …risma/functional/decimal-scalar/decimal-scalar.test.ts | 1 | import { and } from '@internal/sql-orm-client'; | COMMENT |
| LOW | …ude-enum-array/issues-27511-include-enum-array.test.ts | 1 | import type { Varchar } from '@internal/target-postgres/codec-types'; | COMMENT |
| LOW | …ansaction/issues-21631-batching-in-transaction.test.ts | 1 | import { describe, expect, it } from 'vitest'; | COMMENT |
| LOW | …-upsert-update/composites-object-upsert-update.test.ts | 1 | import { ObjectId } from 'mongodb'; | COMMENT |
| LOW | …-upsert-update/composites-object-upsert-update.test.ts | 21 | // - set null → upsert update({ content: null }) | COMMENT |
| LOW | …tes-object-findMany/composites-object-findMany.test.ts | 1 | import { describe, expect, it } from 'vitest'; | COMMENT |
| LOW | …/composites-list-create/composites-list-create.test.ts | 1 | import { describe, expect, it } from 'vitest'; | COMMENT |
| LOW | …acing/issues-unmapped-driver-error-user-facing.test.ts | 21 | // constraint matching the ON CONFLICT specification") surfaced from an upsert | COMMENT |
| LOW | …oup-by-shortcut/issues-20261-group-by-shortcut.test.ts | 1 | import { describe, expect, expectTypeOf, it } from 'vitest'; | COMMENT |
| LOW | …/prisma/functional/methods-count/methods-count.test.ts | 1 | import { describe, expect, it } from 'vitest'; | COMMENT |
| LOW | …sma/functional/batching-bigint/batching-bigint.test.ts | 1 | import { describe, expect, it } from 'vitest'; | COMMENT |
| 128 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/integration/test/_harness/postgres.ts | 126 | // Execute-only push (no TypeScript scaffold rendered), so this is cosmetic; | COMMENT |
| MEDIUM | …integration/test/cli-journeys/init-journey.e2e.test.ts | 81 | // The init scaffold passes a single string `contract: "./src/prisma/contract.ts"` | COMMENT |
| MEDIUM | …integration/test/cli-journeys/init-journey.e2e.test.ts | 84 | // — this is the seam that breaks when init scaffold and emit output get | COMMENT |
| MEDIUM | …egration/test/cli-journeys/mongo-migration.e2e.test.ts | 262 | // JSON, so the scaffold carries `Migration<…, End>` + the endContractJson | COMMENT |
| MEDIUM | …/integration/test/cli-journeys/init-journey/harness.ts | 344 | // Both scopes: the scaffold installs the published `@prisma/orm-*` | COMMENT |
| MEDIUM⚡ | …/integration/test/cli-journeys/init-journey/harness.ts | 480 | // direct dep. The init scaffold itself does not currently declare it, so | COMMENT |
| MEDIUM⚡ | …/integration/test/cli-journeys/init-journey/harness.ts | 482 | // isolated linking would hit `ERR_MODULE_NOT_FOUND` — a real scaffold | COMMENT |
| MEDIUM⚡ | …/integration/test/cli-journeys/init-journey/harness.ts | 484 | // end-to-end; the scaffold gap is a follow-up. | COMMENT |
| MEDIUM | …/integration/test/cli-journeys/init-journey/harness.ts | 565 | // scaffold is in place. They all funnel through `runStep`, which spawns a | COMMENT |
| MEDIUM | projects/migration-domain-model/cli-audit.md | 18 | ├── init # project scaffold | CODE |
| MEDIUM | projects/migration-domain-model/cli-audit.md | 49 | ├── init # project scaffold | CODE |
| MEDIUM | projects/migration-domain-model/references/sqitch.md | 113 | ### Create / scaffold | COMMENT |
| MEDIUM | projects/migration-domain-model/references/django.md | 97 | ### Create / scaffold | COMMENT |
| MEDIUM | …cts/migration-domain-model/references/active-record.md | 99 | ### Create / scaffold | COMMENT |
| MEDIUM | projects/codec-registration-completion/spec.md | 207 | - [TML-2229](https://linear.app/prisma-company/issue/TML-2229). The parent project (merged to main) — read-surface unifi | CODE |
| MEDIUM | projects/consolidate-clis/cli-consolidation-plan.md | 193 | ## Direct commands and orchestration | COMMENT |
| MEDIUM | projects/mongo-reshaping-pipeline-decode/plan.md | 18 | ### Slice 1 — reification scaffold + `$project`/`$addFields` + `$vectorSearch` reclassification | COMMENT |
| MEDIUM | docs/design/10-domains/migration/user-journeys.md | 27 | prisma orm init # scaffold project (schema.psl, config, etc.) | CODE |
| MEDIUM | docs/design/10-domains/migration/user-journeys.md | 61 | # scaffold the migration package, | COMMENT |
| MEDIUM | docs/architecture docs/patterns/package-layering.md | 40 | │ └── 5-runtime/ # Runtime orchestration | CODE |
| MEDIUM | docs/architecture docs/subsystems/3. Query Lanes.md | 279 | // Required annotations for guardrails when AST is absent | COMMENT |
| MEDIUM | …/architecture docs/subsystems/5. Adapters & Targets.md | 258 | ## Transport constraints and guardrails | COMMENT |
| MEDIUM | docs/architecture docs/subsystems/10. MongoDB Family.md | 505 | ### Target-owned scaffolding | COMMENT |
| MEDIUM | …architecture docs/adrs/ADR 101 - Advisors Framework.md | 100 | ## Scope and performance guardrails | COMMENT |
| MEDIUM | …lan grouping keys for multi-statement orchestration.md | 1 | # ADR 160 — Plan grouping keys for multi-statement orchestration | COMMENT |
| MEDIUM | …cture docs/adrs/ADR 015 - ORM as Optional Extension.md | 63 | ### Allowing ORM calls to orchestrate multiple statements | COMMENT |
| MEDIUM | …s/ADR 115 - Extension guardrails & EXPLAIN policies.md | 1 | # ADR 115 — Extension guardrails & EXPLAIN policies | COMMENT |
| MEDIUM | …architecture docs/adrs/ADR 011 - Unified Plan Model.md | 34 | // Optional structural hints for guardrails and DX | COMMENT |
| MEDIUM | … docs/adrs/ADR 008 - Dev Auto Emit CI Explicit Emit.md | 55 | ### Provenance and guardrails | COMMENT |
| MEDIUM | …ocs/adrs/ADR 028 - Migration Structure & Operations.md | 238 | ### Notes and guardrails | COMMENT |
| MEDIUM | …ecture docs/adrs/ADR 016 - Adapter SPI for Lowering.md | 61 | // Optional structural hints for guardrails and DX | COMMENT |
| MEDIUM | docs/reference/framework-integration-analysis.md | 300 | ### NestJS dependency injection | COMMENT |
| MEDIUM | docs/reference/mongodb-user-promise.md | 221 | ### 3. PN provides guardrails that MongoDB doesn't | COMMENT |
| MEDIUM | docs/reference/mongodb-user-promise.md | 263 | #### Runtime guardrails | COMMENT |
| MEDIUM | …ges/3-targets/sqlite/1-target/src/exports/migration.ts | 27 | // user-edited migration.ts files (and the renderer's scaffold) read as | COMMENT |
| MEDIUM | …facade/test/contract-builder/define-contract.test-d.ts | 52 | // Mixed scaffold + factory enums: the postgres wrapper must advertise both, | COMMENT |
| MEDIUM | …s/3-targets/postgres/1-target/src/exports/migration.ts | 30 | // user-edited migration.ts files (and the renderer's scaffold) read as | COMMENT |
| MEDIUM | …es/3-targets/mongo/9-facade/test/mongo.types.test-d.ts | 22 | // Pin the type chain that `init`'s scaffold relies on. The headline trap was | COMMENT |
| MEDIUM | …ges/3-targets/mongo/1-target/test/import-roots.test.ts | 56 | // `Migration` base and `MigrationCLI` reach the scaffold through the | COMMENT |
| MEDIUM | …ges/3-targets/mongo/1-target/test/import-roots.test.ts | 57 | // target's own `migration` entry, so every name the scaffold carries | COMMENT |
| MEDIUM | …es/3-targets/mongo/1-target/test/migration-e2e.test.ts | 521 | // Only the target's dist is named directly: the scaffold imports one | COMMENT |
| MEDIUM | …mongo/1-target/test/planner-produced-migration.test.ts | 59 | // scaffold carries `Migration<Start, End>` + the JSON/field imports and emits | COMMENT |
| MEDIUM | …ages/3-targets/mongo/1-target/src/exports/migration.ts | 13 | // is forwarded so the scaffold names one package instead of two. | COMMENT |
| MEDIUM | …ork/3-tooling/cli/test/commands/init/templates.test.ts | 147 | // String refs here would make a fresh scaffold emit | COMMENT |
| MEDIUM | …/3-tooling/cli/test/commands/init/import-roots.test.ts | 66 | // Both scopes a scaffold can carry: the published `@prisma/orm-*` name and | COMMENT |
| MEDIUM | …ges/1-framework/3-tooling/cli/src/orm/init-scaffold.ts | 400 | // The README describes a fresh scaffold; a Prisma 7 project has its own. | COMMENT |
| MEDIUM | …ges/0-shared/publish-surface/test/import-roots.test.ts | 348 | // A decomposed install has no facade wiring for a scaffold to name, so | COMMENT |
| MEDIUM | …horing/contract-ts/test/enum-type.factory-form.test.ts | 44 | // uses), not declared on the scaffold definition. | COMMENT |
| MEDIUM | …horing/contract-ts/test/enum-type.factory-form.test.ts | 160 | // A contract that authors one enum on the scaffold definition and another in | COMMENT |
| MEDIUM | …horing/contract-ts/test/enum-type.factory-form.test.ts | 162 | // the runtime must surface both — not overwrite the scaffold-authored one. | COMMENT |
| MEDIUM | …family/2-authoring/contract-ts/src/contract-builder.ts | 418 | // Merges enum handles authored on the scaffold definition with those returned | COMMENT |
| MEDIUM | packages/2-sql-family/5-runtime/src/middleware/lints.ts | 160 | // heuristic guardrails. Without this the lint middleware would | COMMENT |
| MEDIUM | skills/prisma-8/references/quickstart.md | 228 | # scaffold lands at src/prisma/; you'll overwrite the starter schema below | COMMENT |
| MEDIUM | drive/retro/findings.md | 395 | S1.A D4 sized the cross-family walk test as "one test file in `framework-components/test/`, three concretions." The brie | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | CHANGELOG.md | 309 | db.sql.public.user.insert([{ email: 'admin@example.com', kind: 'admin' }]); | CODE |
| LOW | CHANGELOG.md | 315 | db.sql.public.user.insert([{ email: 'admin@example.com', kind: 'admin', displayName: 'Admin' }]); | CODE |
| LOW | …ql-builder-insert-required-columns/app/instructions.md | 28 | db.sql.public.user.insert([{ email: 'admin@example.com', kind: 'admin' }]); | CODE |
| LOW | …ql-builder-insert-required-columns/app/instructions.md | 31 | db.sql.public.user.insert([{ email: 'admin@example.com', kind: 'admin', displayName: 'Admin' }]); | CODE |
| LOW | …tegration/test/value-objects/value-objects.e2e.test.ts | 32 | location: { street: '123 Main St', city: 'Springfield', zip: '62701' }, | CODE |
| LOW | …tegration/test/value-objects/value-objects.e2e.test.ts | 50 | location: { street: '123 Main St', city: 'Springfield', zip: '62701' }, | CODE |
| LOW | …tegration/test/value-objects/value-objects.e2e.test.ts | 70 | street: '123 Main St', | CODE |
| LOW⚡ | …n/test/value-objects/value-objects.integration.test.ts | 239 | homeAddress: { street: '123 Main St', city: 'Springfield', zip: '62701' }, | CODE |
| LOW⚡ | …n/test/value-objects/value-objects.integration.test.ts | 245 | homeAddress: { street: '123 Main St', city: 'Springfield', zip: '62701' }, | CODE |
| LOW⚡ | …n/test/value-objects/value-objects.integration.test.ts | 253 | homeAddress: { street: '123 Main St', city: 'Springfield', zip: '62701' }, | CODE |
| LOW | …tion/test/cross-package/postgres-issue-planner.test.ts | 443 | using: { kind: 'placeholder', slot: 'User.age:convert' }, | CODE |
| LOW | test/integration/test/mongo/query-builder.test.ts | 603 | await db.collection('summary').insertOne({ _id: 'placeholder' as never, source: 'old' }); | CODE |
| LOW | test/integration/test/mongo/orm.test.ts | 114 | { street: '123 Main St', city: 'Springfield', zip: '12345' }, | CODE |
| LOW | test/integration/test/mongo/orm.test.ts | 125 | street: '123 Main St', | CODE |
| LOW | …ts/prisma/functional/issues-12378/issues-12378.test.ts | 23 | email: 'user@example.com', | CODE |
| LOW | …ts/prisma/functional/issues-12378/issues-12378.test.ts | 26 | expect(user.email).toBe('user@example.com'); | CODE |
| LOW | …ts/prisma/functional/issues-12378/issues-12378.test.ts | 44 | expect(userAsBob!.email).toBe('user@example.com'); | CODE |
| LOW | …tional/legacy-malformed-id/legacy-malformed-id.test.ts | 28 | const created = db.user.create({ ids: ['something invalid'], name: 'Jane Doe' }); | CODE |
| LOW | docs/Testing Guide.md | 878 | expect(results[0].email).toBe('user@example.com'); | CODE |
| LOW | docs/Testing Guide.md | 927 | expect(results[0].email).toBe('user@example.com'); | CODE |
| LOW | docs/releases/v8.0.0-rc.20.md | 52 | db.sql.public.user.insert([{ email: 'admin@example.com', kind: 'admin' }]); | CODE |
| LOW | docs/releases/v8.0.0-rc.20.md | 58 | db.sql.public.user.insert([{ email: 'admin@example.com', kind: 'admin', displayName: 'Admin' }]); | CODE |
| LOW | …R 121 - Contract.d.ts structure and relation typing.md | 371 | email: 'test@test.com', | CODE |
| LOW | docs/reference/framework-gaps.md | 399 | **Symptom.** A codec failure carries the underlying SDK `cause` chain through Prisma 8's error envelope and into the use | CODE |
| LOW | docs/reference/mongodb-user-promise.md | 144 | street: '123 Main St', | CODE |
| LOW | …cs/reference/community-generator-migration-analysis.md | 213 | | [prisma-generator-fake-data](https://github.com/luisrudge/prisma-generator-fake-data) | Uses faker.js patterns | | CODE |
| LOW | …cs/reference/community-generator-migration-analysis.md | 223 | // { id: 1, email: 'user_1@example.com', name: 'John Doe', createdAt: '2024-01-15T...' } | COMMENT |
| LOW | …cs/reference/community-generator-migration-analysis.md | 305 | 2. **Test Data Generation** — prisma-generator-fake-data author. Clean consumer library pattern. | CODE |
| LOW | …cs/reference/community-generator-migration-analysis.md | 360 | | 32 | prisma-generator-fake-data | Test Data | Realistic fake data | | CODE |
| LOW | docs/reference/mongodb-primitives-reference.md | 100 | "street": "123 Main St", | CODE |
| LOW | examples/retail-store/test/order-lifecycle.test.ts | 41 | shippingAddress: '123 Main St', | CODE |
| LOW | examples/retail-store/test/api-flows.test.ts | 53 | shippingAddress: '123 Main St', | CODE |
| LOW | examples/retail-store/test/api-flows.test.ts | 86 | shippingAddress: '123 Main St', | CODE |
| LOW | examples/retail-store/test/api-flows.test.ts | 104 | expect(aliceOrders[0]!.shippingAddress).toBe('123 Main St'); | CODE |
| LOW | examples/retail-store/test/api-flows.test.ts | 118 | shippingAddress: '123 Main St', | CODE |
| LOW | examples/retail-store/src/seed.ts | 277 | streetAndNumber: '123 Main St', | CODE |
| LOW | …amples/prisma-8-cloudflare-worker/test/global-setup.ts | 99 | '{"street":"123 Main St","city":"San Francisco","zip":"94102","country":"US"}'::jsonb), | CODE |
| LOW | examples/prisma-8-cloudflare-worker/scripts/seed.ts | 46 | address: { street: '123 Main St', city: 'San Francisco', zip: '94102', country: 'US' }, | CODE |
| LOW | examples/mongo-demo/test/blog.test.ts | 35 | street: '123 Main St', | CODE |
| LOW | examples/mongo-demo/test/blog.test.ts | 142 | address: { street: '123 Main St', city: 'San Francisco', zip: '94102', country: 'US' }, | CODE |
| LOW | examples/mongo-demo/src/seed.ts | 10 | address: { street: '123 Main St', city: 'San Francisco', zip: '94102', country: 'US' }, | CODE |
| LOW | examples/mongo-blog-leaderboard/src/seed.ts | 9 | address: { street: '123 Main St', city: 'San Francisco', zip: '94102', country: 'US' }, | CODE |
| LOW | …es/prisma-8-demo/test/repositories.integration.test.ts | 117 | email: 'admin@example.com', | CODE |
| LOW | …es/prisma-8-demo/test/repositories.integration.test.ts | 131 | email: 'admin2@example.org', | CODE |
| LOW | …es/prisma-8-demo/test/repositories.integration.test.ts | 773 | email: 'admin2@example.org', | CODE |
| LOW | …es/prisma-8-demo/test/repositories.integration.test.ts | 1235 | 'admin2@example.org', | CODE |
| LOW | examples/prisma-8-demo/scripts/seed.ts | 40 | address: { street: '123 Main St', city: 'San Francisco', zip: '94102', country: 'US' }, | CODE |
| LOW | …es/3-targets/sqlite/2-adapter/src/core/placeholders.ts | 84 | `The lowered SQLite statement writes ${plural(placeholders.length, 'placeholder')} for ${plural(paramCount, 'paramet | CODE |
| LOW | …ges/3-targets/postgres/1-target/test/sql-utils.test.ts | 132 | expect(escapeLiteral('user@example.com')).toBe('user@example.com'); | CODE |
| LOW | …ges/3-targets/mysql/2-adapter/src/core/placeholders.ts | 7 | (token): token is MysqlPlaceholderToken => token.kind === 'placeholder', | CODE |
| LOW | …ckages/3-targets/mysql/1-target/test/sql-lexer.test.ts | 6 | .filter((token) => token.kind === 'placeholder') | CODE |
| LOW | …ckages/3-targets/mysql/1-target/test/sql-lexer.test.ts | 33 | { kind: 'placeholder', text: '?1', number: 1 }, | CODE |
| LOW | …ckages/3-targets/mysql/1-target/test/sql-lexer.test.ts | 72 | token.kind === 'placeholder' ? [token.number] : [], | CODE |
| LOW | packages/3-targets/mysql/1-target/src/core/sql-lexer.ts | 5 | readonly kind: 'placeholder'; | CODE |
| LOW | packages/3-targets/mysql/1-target/src/core/sql-lexer.ts | 24 | return { kind: 'placeholder', text, number: digits === undefined ? undefined : Number(digits) }; | CODE |
| LOW | packages/3-targets/mysql/1-target/src/core/sql-lexer.ts | 118 | kind = 'placeholder'; | CODE |
| LOW | packages/3-targets/mysql/1-target/src/core/sql-lexer.ts | 128 | tokens.push(kind === 'placeholder' ? placeholderToken(text) : { kind, text }); | CODE |
| LOW | …3-targets/mysql/3-driver/src/core/positional-params.ts | 43 | (token): token is MysqlPlaceholderToken => token.kind === 'placeholder', | CODE |
| LOW | …3-targets/mysql/3-driver/src/core/positional-params.ts | 47 | sql: tokens.map((token) => (token.kind === 'placeholder' ? '?' : token.text)).join(''), | CODE |
| LOW | …s/3-targets/mongo/2-adapter/test/mongo-adapter.test.ts | 206 | MongoFieldFilter.eq('email', 'test@test.com'), | CODE |
| 22 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | …s/3-targets/mongo/1-target/test/written-values.test.ts | 294 | print('mongo/string', 'free'), | CODE |
| HIGH⚡ | …s/3-targets/mongo/1-target/test/written-values.test.ts | 295 | print('mongo/bool', true), | CODE |
| HIGH⚡ | …s/3-targets/mongo/1-target/test/written-values.test.ts | 296 | print('mongo/double', 0.5), | CODE |
| HIGH⚡ | …s/3-targets/mongo/1-target/test/written-values.test.ts | 297 | print('mongo/double', 1e21), | CODE |
| HIGH⚡ | …s/3-targets/mongo/1-target/test/written-values.test.ts | 298 | print('mongo/double', '9007199254740993'), | CODE |
| HIGH⚡ | …s/3-targets/mongo/1-target/test/written-values.test.ts | 299 | print('mongo/date', '2024-01-01T00:00:00.000Z'), | CODE |
| HIGH⚡ | …s/3-targets/mongo/1-target/test/written-values.test.ts | 300 | print('mongo/binary', 'AA=='), | CODE |
| HIGH⚡ | …s/3-targets/mongo/1-target/test/written-values.test.ts | 301 | print('mongo/json', { plan: 'free' }), | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/integration/test/mongo/migration-e2e.test.ts | 332 | // Step 1: Apply create index | COMMENT |
| LOW | test/integration/test/mongo/migration-e2e.test.ts | 365 | // Step 2: Plan drop (indexed -> empty) | COMMENT |
| LOW | test/integration/test/mongo/migration-e2e.test.ts | 384 | // Step 3: Apply drop | COMMENT |
| LOW | …ion/test/cli-journeys/migration-round-trip.e2e.test.ts | 63 | // Step 1: emit base contract → plan → apply (createTable | COMMENT |
| LOW⚡ | …ion/test/cli-journeys/migration-round-trip.e2e.test.ts | 85 | // Step 2: re-running `migrate` against an | COMMENT |
| LOW⚡ | …ion/test/cli-journeys/migration-round-trip.e2e.test.ts | 94 | // Step 3: swap to the contract that adds a NOT NULL `name` | COMMENT |
| LOW | …ion/test/cli-journeys/migration-round-trip.e2e.test.ts | 184 | // Step 4: re-apply after the second migration must again be | COMMENT |
| LOW | skills-contrib/create-pr/SKILL.md | 10 | ### Step 1: Gather Context | COMMENT |
| LOW | skills-contrib/create-pr/SKILL.md | 28 | ### Step 2: Resolve the Linear Ticket | COMMENT |
| LOW | skills-contrib/create-pr/SKILL.md | 42 | ### Step 3: Compose the PR Title | COMMENT |
| LOW | skills-contrib/create-pr/SKILL.md | 66 | ### Step 4: Compose the PR Description | COMMENT |
| LOW | skills-contrib/create-pr/SKILL.md | 138 | ### Step 5: Fresh-eyes self-review | COMMENT |
| LOW | skills-contrib/create-pr/SKILL.md | 152 | ### Step 6: Push and Create | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/integration/test/utils/journey-test-helpers.ts | 511 | // the helper is robust to formatting. | COMMENT |
| MEDIUM | …3-targets/postgres/3-driver/test/driver.errors.test.ts | 546 | // microtask yields keeps the test robust across runtimes without | COMMENT |
| MEDIUM | …nsions/sql-orm-client/test/codec-async.types.test-d.ts | 124 | // User has unique(id) [PK] and unique(email). Use toExtend to keep the assertion robust against minor representation | COMMENT |
| MEDIUM | packages/2-mongo-family/4-query/query-ast/src/stages.ts | 24 | // so this is robust even if a compound _id contains a key named "kind". | COMMENT |
| MEDIUM | .github/workflows/ci.yml | 432 | # Runs the real-Supabase acceptance harness against a live local Supabase | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/integration/test/mongo/migration-e2e.test.ts | 332 | // Step 1: Apply create index | COMMENT |
| LOW | test/integration/test/mongo/migration-e2e.test.ts | 365 | // Step 2: Plan drop (indexed -> empty) | COMMENT |
| LOW | test/integration/test/mongo/migration-e2e.test.ts | 384 | // Step 3: Apply drop | COMMENT |
| LOW | …ion/test/cli-journeys/migration-round-trip.e2e.test.ts | 63 | // Step 1: emit base contract → plan → apply (createTable | COMMENT |
| LOW⚡ | …ion/test/cli-journeys/migration-round-trip.e2e.test.ts | 85 | // Step 2: re-running `migrate` against an | COMMENT |
| LOW⚡ | …ion/test/cli-journeys/migration-round-trip.e2e.test.ts | 94 | // Step 3: swap to the contract that adds a NOT NULL `name` | COMMENT |
| LOW | …ion/test/cli-journeys/migration-round-trip.e2e.test.ts | 184 | // Step 4: re-apply after the second migration must again be | COMMENT |