[PR #243] [MERGED] fix (cli): add mongodb id map and support array type gen for prisma #11430

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/243
Author: @Bekacru
Created: 10/19/2024
Status: Merged
Merged: 10/19/2024
Merged by: @Bekacru

Base: mainHead: fix/cli


📝 Commits (1)

  • 8de058a fix: add mongodb id map and support array type gen for prisma

📊 Changes

4 files changed (+114 additions, -6 deletions)

View changed files

📝 packages/better-auth/src/adapters/prisma-adapter/index.ts (+3 -4)
📝 packages/cli/src/generators/prisma.ts (+17 -2)
packages/cli/test/__snapshots__/schema-mongodb.txt (+70 -0)
📝 packages/cli/test/generate.test.ts (+24 -0)

📄 Description

closes #215 and closes #194


🔄 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/243 **Author:** [@Bekacru](https://github.com/Bekacru) **Created:** 10/19/2024 **Status:** ✅ Merged **Merged:** 10/19/2024 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `fix/cli` --- ### 📝 Commits (1) - [`8de058a`](https://github.com/better-auth/better-auth/commit/8de058aef8971e9ea35e50ab98ab4ef69a096713) fix: add mongodb id map and support array type gen for prisma ### 📊 Changes **4 files changed** (+114 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/adapters/prisma-adapter/index.ts` (+3 -4) 📝 `packages/cli/src/generators/prisma.ts` (+17 -2) ➕ `packages/cli/test/__snapshots__/schema-mongodb.txt` (+70 -0) 📝 `packages/cli/test/generate.test.ts` (+24 -0) </details> ### 📄 Description closes #215 and closes #194 --- <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 07:46:24 -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#11430