Skip to content
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

Stop using prisma's generated client #258

Open
huumn opened this issue Apr 26, 2023 · 0 comments
Open

Stop using prisma's generated client #258

huumn opened this issue Apr 26, 2023 · 0 comments
Labels
difficulty:hard enhancement improvements to existing features

Comments

@huumn
Copy link
Member

huumn commented Apr 26, 2023

This has been a stick in my boot since day 1 - mostly due to their client having a very limited feature set especially with regard to transactions. It slows us down a lot to be forced to write wallet touching code in plpgsql as each change, significant or not, requires a migration.

Anyway, the part of prisma that's worth using is the migration tool mostly because it allows us to express the current schema in a human readable way.

I've been very happy with https://github.com/porsager/postgres. I've been using it for https://outer.space and we should replace all usage of the prisma client with that. Most of our queries are hand written anyway as the prisma client doesn't support ltree.

@huumn huumn added enhancement improvements to existing features difficulty:hard labels Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty:hard enhancement improvements to existing features
Projects
None yet
Development

No branches or pull requests

1 participant