Skip to content

blog: cross-link Prisma Next posts to the /orm/next docs#8049

Merged
ankur-arch merged 1 commit into
mainfrom
blog-prisma-next-doc-crosslinks
Jul 9, 2026
Merged

blog: cross-link Prisma Next posts to the /orm/next docs#8049
ankur-arch merged 1 commit into
mainfrom
blog-prisma-next-doc-crosslinks

Conversation

@ankur-arch

@ankur-arch ankur-arch commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

What

Adds contextual documentation cross-links to all ten Prisma Next blog posts. Where a post mentions a concept that now has a docs page (contracts, fundamentals, data modeling, migrations, the migration graph, middleware, extensions, references), the first natural mention is linked to that page.

Why

The /orm/next docs shipped after most of these posts were written, so the posts had almost no links into the docs. Readers who land on a launch, benchmark, or migrations post now have a direct path to the reference material.

How links were chosen

  • One link per concept, on its first substantive mention, using existing prose as the anchor. No sentences were rewritten or added.
  • Specific sub-pages matched to specific topics (e.g. migration-graph passages → the-migration-graph, backfill passages → editing-a-migration, rollback passages → rollbacks-and-recovery).
  • No stuffing: benchmark/roadmap posts get 2-6 links; concept-heavy posts get 5-7.
  • Pre-existing links (blog, product, GitHub milestones, the old Prisma Migrate doc link) were left untouched.

Posts updated (link count)

Post Links
the-next-evolution-of-prisma-orm 7
prisma-next-early-access-… 5
typescript-migrations-in-prisma-next 7
data-migrations-in-prisma-next 6
rethinking-database-migrations 6
prisma-next-call-for-extension-authors 5
mongodb-without-compromise 6
prisma-next-performance-benchmark 2
prisma-next-roadmap 4
prisma-next-roadmap-april-milestone 6

Validation

  • All 23 unique target URLs verified against live docs url: frontmatter on main.
  • Diff is 50/50 line replacements: only inline link syntax added, no code fences, frontmatter, imports, or JSX touched.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Updated several blog articles with clearer wording and more inline links to related docs, quickstarts, and guides.
    • Improved navigation between topics like migrations, MongoDB, extensions, middleware, query building, and TypeScript schemas.
    • Refreshed article introductions and section lead-ins for better readability and easier discovery of related resources.

Add contextual documentation links across the ten Prisma Next blog posts,
so readers can jump from a concept mentioned in a post to the page that
covers it. Links land on the first natural mention of each concept and
point at the specific doc page (contracts, fundamentals, data modeling,
migrations and the migration graph, middleware, extensions, references,
quickstart, and coding-agent skills). No prose was rewritten; only link
syntax was added around existing words.

Posts updated: the-next-evolution-of-prisma-orm, prisma-next-early-access,
prisma-next-performance-benchmark, prisma-next-roadmap,
prisma-next-roadmap-april-milestone, typescript-migrations-in-prisma-next,
data-migrations-in-prisma-next, rethinking-database-migrations,
prisma-next-call-for-extension-authors, mongodb-without-compromise.

All 23 unique target URLs verified against live docs frontmatter.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
blog Ready Ready Preview, Comment Jul 9, 2026 2:51pm
docs Ready Ready Preview, Comment Jul 9, 2026 2:51pm
eclipse Ready Ready Preview, Comment Jul 9, 2026 2:51pm
site Ready Ready Preview, Comment Jul 9, 2026 2:51pm

Request Review

@coderabbitai

coderabbitai Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Walkthrough

This PR updates prose across ten Prisma Next and MongoDB blog articles, primarily adding inline documentation hyperlinks to previously plain-text terms (e.g., migrations, query builder, middleware, contracts, extensions) and making minor wording/reflow adjustments. No code examples, embedded components, or exported entities are changed.

Changes

Blog content link updates

Layer / File(s) Summary
Data migrations intro and examples
apps/blog/content/blog/data-migrations-in-prisma-next/index.mdx
Reflows intro paragraph and updates lead-in sentences before the TypeScript and MongoDB dataTransform examples.
MongoDB article documentation links
apps/blog/content/blog/mongodb-without-compromise/index.mdx
Adds links for Prisma Next, data model docs, migration system, typed pipeline builder, and raw queries reference.
Extension authors article restatement
apps/blog/content/blog/prisma-next-call-for-extension-authors/index.mdx
Restates tiny-core/Postgres-extension intro and reformats extension layer list with linked middleware reference.
Early access article links
apps/blog/content/blog/prisma-next-early-access-write-your-contract-prompt-your-agent-ship-your-app/index.mdx
Adds links across skills, contract, query, migration, and quickstart sections.
Performance benchmark quickstart link
apps/blog/content/blog/prisma-next-performance-benchmark/index.mdx
Links "get started" phrase to PostgreSQL quickstart in the "Try Prisma Next today" section.
April roadmap milestone links
apps/blog/content/blog/prisma-next-roadmap-april-milestone/index.mdx
Adds extension-author call-out and links Transactions, SQL query builder, Middleware, and MongoDB references.
Roadmap bullet list links
apps/blog/content/blog/prisma-next-roadmap/index.mdx
Adds hyperlinks for SQL query builder, extensions, TypeScript schema builder, and middleware bullets.
Rethinking migrations article links
apps/blog/content/blog/rethinking-database-migrations/index.mdx
Adds links for migrations overview, contract-authoring docs, migration graph, and rollback/recovery docs.
Next evolution of Prisma ORM links
apps/blog/content/blog/the-next-evolution-of-prisma-orm/index.mdx
Adds links for declarative schema, queries, SQL query builder, TypeScript schema, extensions, middleware, and migration graph.
TypeScript migrations article links
apps/blog/content/blog/typescript-migrations-in-prisma-next/index.mdx
Adds links across migration intro, contract planning, editing guidance, rollback/recovery, and agent-assisted workflows sections.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Possibly related PRs

  • prisma/web#7872: Introduced the same data-migrations-in-prisma-next/index.mdx prose/lead-ins that this PR further tweaks.
  • prisma/web#7923: Updates the same set of Prisma Next blog MDX articles with similar internal documentation hyperlink additions.
  • prisma/web#7951: Modifies the same "Try Prisma Next today" section in prisma-next-performance-benchmark/index.mdx.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: adding cross-links from Prisma Next blog posts to /orm/next docs.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Comment @coderabbitai help to get the list of available commands.

@argos-ci

argos-ci Bot commented Jul 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) ✅ No changes detected - Jul 9, 2026, 2:58 PM

@ankur-arch ankur-arch merged commit c48d760 into main Jul 9, 2026
18 of 20 checks passed
@ankur-arch ankur-arch deleted the blog-prisma-next-doc-crosslinks branch July 9, 2026 14:54

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@apps/blog/content/blog/typescript-migrations-in-prisma-next/index.mdx`:
- Around line 210-217: The workflow step in the blog post incorrectly tells
readers to run ./migration.ts, which is not a valid runnable command in this
context. Update the “Your development workflow becomes” list so the rerun step
references the actual migration runner command used elsewhere in the article,
keeping it consistent with the surrounding migration plan/apply guidance and the
migration.ts mention as the script to edit rather than execute directly.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: d558578e-21bd-4802-8aed-4bccd1df0f7b

📥 Commits

Reviewing files that changed from the base of the PR and between 771cce4 and 23b4e3d.

📒 Files selected for processing (10)
  • apps/blog/content/blog/data-migrations-in-prisma-next/index.mdx
  • apps/blog/content/blog/mongodb-without-compromise/index.mdx
  • apps/blog/content/blog/prisma-next-call-for-extension-authors/index.mdx
  • apps/blog/content/blog/prisma-next-early-access-write-your-contract-prompt-your-agent-ship-your-app/index.mdx
  • apps/blog/content/blog/prisma-next-performance-benchmark/index.mdx
  • apps/blog/content/blog/prisma-next-roadmap-april-milestone/index.mdx
  • apps/blog/content/blog/prisma-next-roadmap/index.mdx
  • apps/blog/content/blog/rethinking-database-migrations/index.mdx
  • apps/blog/content/blog/the-next-evolution-of-prisma-orm/index.mdx
  • apps/blog/content/blog/typescript-migrations-in-prisma-next/index.mdx

Comment on lines +210 to +217
**[Re-running is safe](https://www.prisma.io/docs/orm/next/migrations/rollbacks-and-recovery).** Before running each operation, the migration runner first evaluates that operation's postcheck. If the postcheck is already true, the runner skips the operation (which makes each operation idempotent). The migration then continues at the first step that hasn't succeeded yet. There's no commenting out lines, no manually unwinding state, and no guessing what's been applied. The single most uncomfortable problem with SQL migrations is solved.

**Your development workflow becomes:**

1. Edit your `contract.prisma`
2. Plan a migration: `migration plan`
3. Edit the TypeScript and run `./migration.ts`
4. Apply the migration: `prisma-next migrate`
4. [Apply the migration](https://www.prisma.io/docs/orm/next/migrations/applying-a-migration): `prisma-next migrate`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Fix the rerun instruction.

./migration.ts is not a runnable command here; readers will hit a shell error. This workflow step should refer to the migration command itself (or otherwise match the surrounding rerun guidance).

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@apps/blog/content/blog/typescript-migrations-in-prisma-next/index.mdx` around
lines 210 - 217, The workflow step in the blog post incorrectly tells readers to
run ./migration.ts, which is not a valid runnable command in this context.
Update the “Your development workflow becomes” list so the rerun step references
the actual migration runner command used elsewhere in the article, keeping it
consistent with the surrounding migration plan/apply guidance and the
migration.ts mention as the script to edit rather than execute directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant