Open clayrisser opened 4 years ago
I would look at porting the typeorm controller. It's pretty large, so maybe you don't need everything all at once. I may do this in a fork later, but right now I'm just learning nestjs. I think you'd need to use code generation hooked into the introspection and client creation. My project is too small right now to justify it.
I've already ported over a lot of it into the nestjs-crud-prisma
package.
https://github.com/silicon-hills/nestjs-crud-prisma https://www.npmjs.com/package/nestjs-crud-prisma
If anyone has any feedback, that would be great.
I find it's indeed useful and should we create a PR and include it in the documentation?
I've already ported over a lot of it into the
nestjs-crud-prisma
package.https://github.com/silicon-hills/nestjs-crud-prisma https://www.npmjs.com/package/nestjs-crud-prisma
If anyone has any feedback, that would be great.
Yeah I can definitely submit a PR. Give me a week to get things together for it.
just discovered prisma and it looks really interesting, would love to use it as an alternative to TypeORM.
hey @clayrisser thanks for the port, any updates on the PR? thanks
This would be a very nice feature!
How would I create a crud controller with Prisma?