[PR #1144] [CLOSED] refactor: Adapter types to support schema creation better #3652

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/1144
Author: @ping-maxwell
Created: 1/5/2025
Status: Closed

Base: mainHead: refactor/createSchema


📝 Commits (2)

  • f192a92 refactor: Adapter types to support schema creation better
  • cfaaa95 add: state that relative paths are supported for the path prop

📊 Changes

1 file changed (+22 additions, -7 deletions)

View changed files

📝 packages/better-auth/src/types/adapter.ts (+22 -7)

📄 Description

  • Added JSDoc for each property
  • Made the createSchema fn have an array return value, since the Convex Database expects multiple files per schema, this may be true for other database schemas that could be encountered in the future as well.

🔄 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/1144 **Author:** [@ping-maxwell](https://github.com/ping-maxwell) **Created:** 1/5/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `refactor/createSchema` --- ### 📝 Commits (2) - [`f192a92`](https://github.com/better-auth/better-auth/commit/f192a9277876017c5c19e8f4f861ea39899851b4) refactor: Adapter types to support schema creation better - [`cfaaa95`](https://github.com/better-auth/better-auth/commit/cfaaa95a52744bb15cb38381aae52e1749211920) add: state that relative paths are supported for the `path` prop ### 📊 Changes **1 file changed** (+22 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/types/adapter.ts` (+22 -7) </details> ### 📄 Description * Added JSDoc for each property * Made the `createSchema` fn have an array return value, since the Convex Database expects multiple files per schema, this may be true for other database schemas that could be encountered in the future as well. --- <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:03:16 -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#3652