[PR #1642] [MERGED] fix(docs): Add reference to ctx object for database hooks #3917

Closed
opened 2026-03-13 11:22:15 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/1642
Author: @CrutchTheClutch
Created: 3/2/2025
Status: Merged
Merged: 3/3/2025
Merged by: @Bekacru

Base: mainHead: patch-1


📝 Commits (3)

📊 Changes

1 file changed (+4 additions, -2 deletions)

View changed files

📝 docs/content/docs/concepts/database.mdx (+4 -2)

📄 Description

Just a small doc tweak that would have saved me time when learning how the database hooks operate. Ctx object is available and very useful in these hooks, but not explicitly mentioned in the database hooks docs


🔄 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/1642 **Author:** [@CrutchTheClutch](https://github.com/CrutchTheClutch) **Created:** 3/2/2025 **Status:** ✅ Merged **Merged:** 3/3/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (3) - [`a02febd`](https://github.com/better-auth/better-auth/commit/a02febdc0c25206df251dd42d946b468021f146b) Add reference to ctx object in database hooks - [`e0e1114`](https://github.com/better-auth/better-auth/commit/e0e1114b60eaf8b0ccfe552db753e7e5b756f869) typo - [`5ac4e20`](https://github.com/better-auth/better-auth/commit/5ac4e20aa5449871f24c5006ad9c260646a61e4c) chore: remove heading ### 📊 Changes **1 file changed** (+4 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/concepts/database.mdx` (+4 -2) </details> ### 📄 Description Just a small doc tweak that would have saved me time when learning how the database hooks operate. Ctx object is available and very useful in these hooks, but not explicitly mentioned in the database hooks docs --- <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-03-13 11:22:15 -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#3917