3 karma · joined Jun 9, 2020 (6y ago) · 3 submissions
comment 4y ago · link · parent
I think what caltech is doing here makes a lot of sense and demonstrates an awareness of the realities of interviewing at companies a lot of their students will want to work at. College is also a better time to build up this skill than later when other responsibilities tend to pile up.
comment 6y ago · link · parent
The main problems I've run into have been around utilizing standard postgres naming patterns (snake case for tables and fields instead of camelcase) and mapping the names in the prisma schema. Ran into a handful of bugs related to having these mappings that have all been fixed since. It still requires a post-introspect step to add the mappings, but that's not too big of a deal. Ideally the introspection would be able to handle database-specific conventions.
Couple of other things I've run into that already have github issues:
- It would be great if along with the create/connect options on relationships for nested writes there was also an upsert.
- Better transaction support beyond just nested writes would be great and probably a requirement for a lot of apps. Thankfully, my server is relatively simple right now so banking a bit on prisma improving as my app grows in complexity.