AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
How to Use Prisma to Organize Functional Code
Jason: Prisma does have a thing called extends which you can basically do like you know Prisma dot user Oh really my own custom function so you can write your own custom queries. I haven't seen anything that adds methods For behavior to a loaded user or whatever to the return object um Now you could of course like do You could invent your own system here. Yeah,Yeah interesting well Hopefully eventually someone in the JavaScript ecosystem will make this because I would very much like it. Jason: There's plenty of people who use functional programming languagesUm To build systems and there's ways to organize functional code that have nothing to do with UI Um, and they would say there's no need for objects