[PR #6951] [MERGED] docs: update plugin schema definition #6985

Closed
opened 2026-03-13 13:20:13 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6951
Author: @himself65
Created: 12/23/2025
Status: Merged
Merged: 12/23/2025
Merged by: @himself65

Base: canaryHead: pr-2637


📝 Commits (1)

  • 03169ed docs(fix): update plugin schema documentation

📊 Changes

2 files changed (+2 additions, -3 deletions)

View changed files

📝 docs/content/docs/concepts/plugins.mdx (+2 -2)
📝 docs/content/docs/guides/your-first-plugin.mdx (+0 -1)

📄 Description

Closes: https://github.com/better-auth/better-auth/pull/2637


Summary by cubic

Fixes plugin schema docs to use the correct references property and clarify defaults. The field is optional, and onDelete now documents a default of cascade; removed an outdated example line.

  • Bug Fixes
    • Renamed reference to references in concepts doc.
    • Documented onDelete default as cascade.
    • Removed references: null from the “Your first plugin” guide example.

Written for commit 03169edd89. 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/6951 **Author:** [@himself65](https://github.com/himself65) **Created:** 12/23/2025 **Status:** ✅ Merged **Merged:** 12/23/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `pr-2637` --- ### 📝 Commits (1) - [`03169ed`](https://github.com/better-auth/better-auth/commit/03169edd8924b8c3109615518f37c1cc82c6ec45) docs(fix): update plugin schema documentation ### 📊 Changes **2 files changed** (+2 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/concepts/plugins.mdx` (+2 -2) 📝 `docs/content/docs/guides/your-first-plugin.mdx` (+0 -1) </details> ### 📄 Description Closes: https://github.com/better-auth/better-auth/pull/2637 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Fixes plugin schema docs to use the correct references property and clarify defaults. The field is optional, and onDelete now documents a default of cascade; removed an outdated example line. - **Bug Fixes** - Renamed reference to references in concepts doc. - Documented onDelete default as cascade. - Removed references: null from the “Your first plugin” guide example. <sup>Written for commit 03169edd8924b8c3109615518f37c1cc82c6ec45. 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-03-13 13:20:13 -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#6985