[PR #6559] [CLOSED] docs: PrismaClient need an argument #23645

Closed
opened 2026-04-15 21:53:11 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6559
Author: @johnvesslyalti
Created: 12/6/2025
Status: Closed

Base: canaryHead: canary


📄 Description

251206_10h38m31s_screenshot 251206_10h38m50s_screenshot

Summary by cubic

Updated the installation docs to show that PrismaClient must be initialized with a driver adapter. The example now imports PrismaPg, sets it with DATABASE_URL, and passes { adapter } to new PrismaClient to avoid setup errors.

Written for commit 9f6b8e753d. Summary will update automatically on new commits.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/6559 **Author:** [@johnvesslyalti](https://github.com/johnvesslyalti) **Created:** 12/6/2025 **Status:** ❌ Closed **Base:** `canary` ← **Head:** `canary` --- ### 📄 Description <img width="1920" height="1080" alt="251206_10h38m31s_screenshot" src="https://github.com/user-attachments/assets/dc4b2016-12f2-44ec-811a-5caad77a9150" /> <img width="1920" height="1080" alt="251206_10h38m50s_screenshot" src="https://github.com/user-attachments/assets/ce9d13b8-59d3-4df6-9710-9d15371c030c" /> <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Updated the installation docs to show that PrismaClient must be initialized with a driver adapter. The example now imports PrismaPg, sets it with DATABASE_URL, and passes { adapter } to new PrismaClient to avoid setup errors. <sup>Written for commit 9f6b8e753ddbfa898140e08527dc40a87779b478. Summary will update automatically on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-15 21:53:11 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#23645