This repository has been archived by the owner on Jan 22, 2023. It is now read-only.
Soul has migrated to Prisma 🎉 #169
lws803
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We've made a pretty big decision lately, to migrate from TypeORM to Prisma. Prisma is a next-gen ORM that is simple to use and strongly-typed, making it a lot less ambiguous for crafting queries and retrieving types especially for querying relations.
This move involved a number of stages:
Some things worth revisiting in the future:
JSONValue
s are currently manually type-casted intoUserRole
orstring
and can be a dangerous assumption. We'll need to find a better way to coerce this into the required type in a safe manner in future.Several existing features were also deprecated in the process:
Beta Was this translation helpful? Give feedback.
All reactions