Implementing a "Prisma model converter middleware"
Bit of a fancy name, but if you've ever worked with Symfonys param converters (especially the DoctrineParamConverter) you get the idea. It's basically just automatically converting input to models.
Currently trying to implement this, but can't find a way for proper types. Implementation so far:
Unfortunately I can't come up with a solution to knowing the types here. Anyone got some ideas 🙂 ?
0 Replies