docs: fix links and configuration steps for Prisma adapter#13425
Open
effessdev wants to merge 1 commit into
Open
docs: fix links and configuration steps for Prisma adapter#13425effessdev wants to merge 1 commit into
effessdev wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
|
@felixfsdev is attempting to deploy a commit to the authjs Team on Vercel. A member of the Team first needs to authorize it. |
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.
☕️ Reasoning
Updated the Prisma Adapter documentation to resolve broken links and configuration errors. Key changes:
import { PrismaClient } from "../src/generated/client", which was causing error squiggles.{ adapter }argument toPrismaClient()which was missing previosly.schema.prismaby removingurl = env("DATABASE_URL")to align with newer versions that consolidate this configuration inprisma.config.ts(a step handled automatically duringprisma init); maintaining it in the schema now triggers an error.prisma generatein the hosting environment.Next.js app used for testing the changes: https://github.com/effessdev2/authjs-prisma
Vercel deployment of the same app: https://authjs-prisma.vercel.app/
OAuth provider used for testing: GitHub
🧢 Checklist
🎫 Affected issues
None.