Repository navigation
docs(docs): fix broken code examples in Prisma Client reference - #8600
Merged
Merged
Conversation
|
@mayur-dhavan is attempting to deploy a commit to the Prisma Team on Vercel. A member of the Team first needs to authorize it. |
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
wmadden
approved these changes
Oct 28, 2026
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Prisma Client reference pages (v6 and v7) contain code
examples that cannot be parsed as written, plus one stray code
fence:
````fence line after thenativeDistinctexample makes the whole "Nested queries" section intro and the
first nested-create example render as a literal code block.
some,every,two
nonevariants,is,isNot) are missing the closing)offindMany(._relevanceorderBy example on each page is missing theclosing
}of the outer options object.connectOrCreateprofile example on each page is missingthe closing
}of the outer options object.Each defect was confirmed verbatim on the live prisma.io pages,
and each fixed example was verified to parse with the TypeScript
compiler. Docs only.
Summary by CodeRabbit
connectOrCreate.