[PR #5179] [MERGED] docs: fix AdapterDebugLogs type to DBAdapterDebugLogOption #14075

Closed
opened 2026-04-13 09:18:07 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/5179
Author: @roisuladib
Created: 10/9/2025
Status: ✅ Merged
Merged: 10/9/2025
Merged by: @himself65

Base: canary ← Head: docs/fix-adapter-debug-logs-type


📝 Commits (1)

  • 7088e85 docs: fix AdapterDebugLogs type to DBAdapterDebugLogOption

📊 Changes

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

View changed files

📝 docs/content/docs/guides/create-a-db-adapter.mdx (+2 -2)

📄 Description

Description

 Update the database adapter guide documentation to use the correct type name.
 
 ## Changes
 - Changed `AdapterDebugLogs` to `DBAdapterDebugLogOption` in the import statement
 - Updated the type reference in `CustomAdapterConfig` interface
 
 ## Reason
 The type `AdapterDebugLogs` has been renamed to `DBAdapterDebugLogOption` in the current version of better-auth, but the documentation was not updated.

Summary by cubic

Fixes outdated type name in the database adapter guide. Replaces AdapterDebugLogs with DBAdapterDebugLogOption in the import and interface to match the current better-auth API.


🔄 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/5179 **Author:** [@roisuladib](https://github.com/roisuladib) **Created:** 10/9/2025 **Status:** ✅ Merged **Merged:** 10/9/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `docs/fix-adapter-debug-logs-type` --- ### 📝 Commits (1) - [`7088e85`](https://github.com/better-auth/better-auth/commit/7088e85031f4bc28d24e3fd7e52aa091df954d96) docs: fix AdapterDebugLogs type to DBAdapterDebugLogOption ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/guides/create-a-db-adapter.mdx` (+2 -2) </details> ### 📄 Description ## Description Update the database adapter guide documentation to use the correct type name. ## Changes - Changed `AdapterDebugLogs` to `DBAdapterDebugLogOption` in the import statement - Updated the type reference in `CustomAdapterConfig` interface ## Reason The type `AdapterDebugLogs` has been renamed to `DBAdapterDebugLogOption` in the current version of better-auth, but the documentation was not updated. <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Fixes outdated type name in the database adapter guide. Replaces AdapterDebugLogs with DBAdapterDebugLogOption in the import and interface to match the current better-auth API. <!-- 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-13 09:18:07 -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#14075