Skip to content

feat(experimental): drizzle-adapter implementation using new experimental better-call APIs - #178

Draft
ping-maxwell wants to merge 2 commits into
better-auth:experimentalfrom
ping-maxwell:feat/experimental-adapter
Draft

feat(experimental): drizzle-adapter implementation using new experimental better-call APIs#178
ping-maxwell wants to merge 2 commits into
better-auth:experimentalfrom
ping-maxwell:feat/experimental-adapter

Conversation

@ping-maxwell

@ping-maxwell ping-maxwell commented Aug 17, 2026

Copy link
Copy Markdown
Collaborator

WIP: drizzle-adapter implementation using new experimental better-call APIs

Introduce shared db.* fns for create/find/update/delete/count plus a
drizzleAdapter that maps schema models onto drizzle query builders,
exported as better-call/adapter and better-call/adapter/drizzle.
@pkg-pr-new

pkg-pr-new Bot commented Aug 17, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/better-call@178

commit: 76b266b

@socket-security

socket-security Bot commented Aug 17, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​better-fetch/​fetch@​1.3.1991007591100
Added@​better-auth/​core@​1.6.28991008197100
Added@​libsql/​client@​0.17.410010010087100
Addeddrizzle-orm@​0.45.2981008899100
Added@​better-auth/​utils@​0.4.210010010090100

View full report

@socket-security

socket-security Bot commented Aug 17, 2026

Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Obfuscated code: npm drizzle-orm is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: packages/experimental/package.jsonnpm/drizzle-orm@0.45.2

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/drizzle-orm@0.45.2. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@ping-maxwell ping-maxwell changed the title feat(experimental): add adapter IO layer and drizzle driver feat(experimental): drizzle-adapter implementation using new experimental better-call APIs Aug 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant