[PR #6646] [CLOSED] fix: array inserts breaking with neon pg + kysely #23702

Closed
opened 2026-04-15 21:55:17 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6646
Author: @ping-maxwell
Created: 12/9/2025
Status: Closed

Base: canaryHead: fix/kysely-neon-pg--pass-array-as-json


📝 Commits (1)

  • 5a08278 fix: array inserts breaking with neon pg + kysely

📊 Changes

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

View changed files

📝 packages/better-auth/src/adapters/kysely-adapter/kysely-adapter.ts (+1 -1)

📄 Description

Summary by cubic

Fixes array insert errors with Neon Postgres + Kysely by enabling array support in the Kysely adapter. Arrays are now passed as JSON to prevent broken inserts.

Written for commit 5a08278451. 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/6646 **Author:** [@ping-maxwell](https://github.com/ping-maxwell) **Created:** 12/9/2025 **Status:** ❌ Closed **Base:** `canary` ← **Head:** `fix/kysely-neon-pg--pass-array-as-json` --- ### 📝 Commits (1) - [`5a08278`](https://github.com/better-auth/better-auth/commit/5a08278451b291d0e0fa5b1e3b28c0cf898452ee) fix: array inserts breaking with neon pg + kysely ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/adapters/kysely-adapter/kysely-adapter.ts` (+1 -1) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Fixes array insert errors with Neon Postgres + Kysely by enabling array support in the Kysely adapter. Arrays are now passed as JSON to prevent broken inserts. <sup>Written for commit 5a08278451b291d0e0fa5b1e3b28c0cf898452ee. 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-04-15 21:55:17 -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#23702