Commit 7ed0d25
Prisma Next Post Merge Polish (#8043)
* docs(orm/next): correct MongoDB where() filter and array-op claims in fundamentals
reading-data: MongoDB where() also accepts MongoFieldFilter expressions
(comparisons, .and()/.not(), MongoOrExpr.of), not the object form only;
link to the reference filter section.
writing-data: stop presenting .push() as plainly usable; the reference
marks array operations as unverified. Point to a verified op instead
and link to the field-operations reference section.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* fix(eclipse): stop tabbed code blocks overlapping the tab list
The general Tabs' TabsContent kept fumadocs' [&>figure:only-child]:-m-4
bleed, but unlike fumadocs (and the padded codetabs variant) its container
has no padding to compensate, so a lone code block was pulled 1rem up over
the PostgreSQL/MongoDB tab triggers on every tab= code fence. Replace the
bleed with a snug mt-2/mb-0 so the code block sits below the tab row.
Also remove two console.log calls that fired on every npm-tab interaction.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* docs(next): consistency pass over the merged /orm/next content
- Convert pure-code <Tabs> blocks in contract-authoring to tab= fences
(house convention; the one prose-bearing pair stays a component).
- Fix db.sql.public.postTag -> post_tag in advanced-queries (mapped table
names are snake_case) and align the accessor wording with the reference.
- Correct the contract-artifact roots explanation to cover both the SQL
table accessor (root key) and the ORM accessor (model name).
- Rescope the TypeScript-builder relation-target claim: PG takes model
objects, MongoDB takes type-checked model names.
- Add badge: early-access to the fundamentals and contract-authoring
pages (every other Prisma Next page carries it).
- Use "contract" (not "schema") for the authored artifact in
data-modeling/index and how-migrations-work.
- Name the RUNTIME.ITERATOR_CONSUMED code in reading-data's streaming note.
- Normalize create-prisma -> create-prisma@next across the section.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* docs(orm/next): remove outdated MongoDB field operation example in writing-data
* docs(orm/next): apply post-merge writing polish across Prisma Next docs
- Rewrite the-migration-graph page around the real problem (branches merge,
every database must catch up): user-problem opening, "When this matters",
a terms glossary, an Alice/Bob phone+avatarUrl worked example, an explicit
"What happens when you run migrate" list, task-oriented command tables, a
"Common tasks" section before the agent prompts, a tip box, and
impact-framed early-access limitations. Drop clever phrasing.
- Replace question-style openers ("New to X? Start with...") with direct
phrasing across data-modeling and contract-authoring pages.
- Normalize every "Prompt your coding agent" section to link
[Prisma Next skills](/ai/tools/skills#available-skills-for-prisma-next).
- Break the ops.json operation paragraph in how-migrations-work into a
numbered precheck/execute/postcheck list plus a bulleted operation-class list.
- Remove em dashes from reference-page prose and headings.
All commands, flags, refs, and graph output verified against prisma-next
0.14.x. cspell and lint:links pass.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com>1 parent 760ef0a commit 7ed0d25
32 files changed
Lines changed: 208 additions & 109 deletions
File tree
- apps/docs/content/docs
- guides/next
- frameworks
- runtimes
- orm/next
- contract-authoring
- data-modeling
- extensions
- fundamentals
- middleware
- migrations
- reference
- packages/eclipse/src/components
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
89 | | - | |
| 90 | + | |
90 | 91 | | |
91 | 92 | | |
92 | 93 | | |
| |||
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
309 | 310 | | |
310 | 311 | | |
311 | 312 | | |
312 | | - | |
| 313 | + | |
313 | 314 | | |
314 | 315 | | |
315 | 316 | | |
| |||
318 | 319 | | |
319 | 320 | | |
320 | 321 | | |
321 | | - | |
| 322 | + | |
322 | 323 | | |
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
107 | | - | |
| 108 | + | |
108 | 109 | | |
109 | 110 | | |
110 | 111 | | |
| |||
152 | 153 | | |
153 | 154 | | |
154 | 155 | | |
155 | | - | |
| 156 | + | |
156 | 157 | | |
157 | 158 | | |
158 | 159 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
95 | | - | |
| 96 | + | |
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
| |||
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
207 | 208 | | |
208 | 209 | | |
209 | 210 | | |
210 | | - | |
| 211 | + | |
211 | 212 | | |
212 | 213 | | |
213 | 214 | | |
| |||
265 | 266 | | |
266 | 267 | | |
267 | 268 | | |
268 | | - | |
| 269 | + | |
269 | 270 | | |
270 | 271 | | |
271 | 272 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
237 | | - | |
| 237 | + | |
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
| 241 | + | |
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| |||
0 commit comments