-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(adapters): add Kysely adapter #5464
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
2 Ignored Deployments
|
Co-authored-by: Lars Graubner <lgraubner@users.noreply.github.com>
9784f29
to
37bb6eb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the great work on this! I added some of my changes, but this looks good to be released!
I appreciate the time you've spent on this PR and apologies for the long waiting...
This is now released! @auth/kysely-adapter@0.1.0 Thanks for everyone's patience on this. 🙏 💚 Let us know! |
@balazsorban44 thanks for taking it across the finish line 🙌 |
☕️ Reasoning
Kysely is a really nice new type safe query builder and it'd be cool to have an adapter for it.
The adapter supports the built in SQL dialects that Kysely supports (PostgreSQL, MySQL, and SQLite). Kysely itself doesn't have any ORM functionality, so I tried to write the adapter methods in a sane way while supporting all three dialects and avoiding creating a mini ORM. The test suite is being run for all three dialects.
🧢 Checklist
🎫 Affected issues
Closes #4922.
📌 Resources