[GH-ISSUE #1406] typeorm adapter #8735

Closed
opened 2026-04-13 03:54:58 -05:00 by GiteaMirror · 8 comments
Owner

Originally created by @Sparkenstein on GitHub (Feb 11, 2025).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/1406

Is this suited for github?

  • Yes, this is suited for github

No response

Describe the solution you'd like

I see there is Prisma adapter, and a drizzle adapter even if drizzle is less widely used ORM. (https://npmtrends.com/drizzle-orm-vs-prisma-vs-typeorm)

But there's no typeorm. Typeorm is taken over by some Italian company and it's back in active development, and I would say pretty widely in use even if it's abandoned.

Describe alternatives you've considered

Alternative is writting a custom adapter or maybe DB hooks as discussed in discord chat. but if better auth needs a wider adaption, it needs to support wide range of libraries in my opinion.

Additional context

No response

Originally created by @Sparkenstein on GitHub (Feb 11, 2025). Original GitHub issue: https://github.com/better-auth/better-auth/issues/1406 ### Is this suited for github? - [x] Yes, this is suited for github ### Is your feature request related to a problem? Please describe. _No response_ ### Describe the solution you'd like I see there is Prisma adapter, and a drizzle adapter even if drizzle is less widely used ORM. (https://npmtrends.com/drizzle-orm-vs-prisma-vs-typeorm) But there's no typeorm. Typeorm is taken over by some Italian company and it's back in active development, and I would say pretty widely in use even if it's abandoned. ### Describe alternatives you've considered Alternative is writting a custom adapter or maybe DB hooks as discussed in discord chat. but if better auth needs a wider adaption, it needs to support wide range of libraries in my opinion. ### Additional context _No response_
GiteaMirror added the locked label 2026-04-13 03:54:58 -05:00
Author
Owner

@conterio commented on GitHub (Mar 12, 2025):

bump

<!-- gh-comment-id:2718333580 --> @conterio commented on GitHub (Mar 12, 2025): bump
Author
Owner

@lgicc commented on GitHub (Mar 30, 2025):

I would really like a typeorm adapter, dont like to switch orm to use better auth.

<!-- gh-comment-id:2764574509 --> @lgicc commented on GitHub (Mar 30, 2025): I would really like a typeorm adapter, dont like to switch orm to use better auth.
Author
Owner

@saullo commented on GitHub (Jun 16, 2025):

would be nice, i use by default on nestjs

<!-- gh-comment-id:2978488096 --> @saullo commented on GitHub (Jun 16, 2025): would be nice, i use by default on nestjs
Author
Owner

@AntonVishal commented on GitHub (Jul 8, 2025):

I agree. I too want TypeORM for nestjs

<!-- gh-comment-id:3049266596 --> @AntonVishal commented on GitHub (Jul 8, 2025): I agree. I too want TypeORM for nestjs
Author
Owner

@mateus4k commented on GitHub (Aug 14, 2025):

Up

<!-- gh-comment-id:3189044448 --> @mateus4k commented on GitHub (Aug 14, 2025): Up
Author
Owner

@Zastinian commented on GitHub (Aug 23, 2025):

Remember that there is a typeorm community adapter for better-auth

<!-- gh-comment-id:3215994682 --> @Zastinian commented on GitHub (Aug 23, 2025): Remember that there is a typeorm community adapter for better-auth
Author
Owner

@AntonVishal commented on GitHub (Aug 23, 2025):

Hey @Zastinian left you a message in BA discord

<!-- gh-comment-id:3216390883 --> @AntonVishal commented on GitHub (Aug 23, 2025): Hey @Zastinian left you a message in BA discord
Author
Owner

@himself65 commented on GitHub (Sep 24, 2025):

It's not in the official roadmap yet. Right now you can use community package

<!-- gh-comment-id:3330846958 --> @himself65 commented on GitHub (Sep 24, 2025): It's not in the official roadmap yet. Right now you can use community package
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#8735