nestjs-query icon indicating copy to clipboard operation
nestjs-query copied to clipboard

Prisma integration

Open draylegend opened this issue 5 years ago • 17 comments

I'm searching for a package that can handle all the CRUD hassle with prisma. Are you planning the integration of it?

draylegend avatar Aug 22 '20 15:08 draylegend

this would also be of interest for me.. @vladimirdrayling @thehappycoder do you have any luck so far?

johannesschobel avatar Jan 21 '21 11:01 johannesschobel

@johannesschobel nothing found yet. Using plain prisma client

draylegend avatar Jan 21 '21 16:01 draylegend

@vladimirdrayling , thank you for your answer. Are you using prisma with GraphQL or within a RESTful application?

johannesschobel avatar Jan 21 '21 17:01 johannesschobel

@johannesschobel I am planning to use it with GraphQL.

thehappycoder avatar Jan 23 '21 22:01 thehappycoder

@johannesschobel you are welcome! Currently working only with GraphQL

draylegend avatar Jan 24 '21 19:01 draylegend

Also interested in a @nestjs-query/query-prisma package to use instead of TypeORM or Sequelize. Seems Prisma is young but very promising as a really nice ORM for TypeScript.

Nightbr avatar Mar 03 '21 09:03 Nightbr

To be honest I'm totally disappointed in TypeORM and looking for something else. Will be happy to see integration with prisma.

meliborn avatar Mar 04 '21 20:03 meliborn

+1 - Also disappointed in TypeORM and looking forward to migrate to Prisma.

Unfortunately I do not have much time in the upcoming two months, but I am happy to implement a @nestjs-query/query-prisma package during the summer and / or to support in the meantime.

I guess the main challenge is that Prisma does not work with classes but with schema files and has a different "workflow".

psteinroe avatar Mar 09 '21 11:03 psteinroe

Hi, just come here to vote for Prisma integration!

tombelieber avatar Jul 22 '21 15:07 tombelieber

Also 1-upping this 👍🏻

stingalleman avatar Jul 27 '21 20:07 stingalleman

A little update from our side: Because things are running quite smoothly right now with the current state of TypeORM and some minor prs with critical features and fixes have been merged, we decided to stay with it and wait how things evolve, since it seems like there is an effort to clean things up (although it will most likely be a major breaking change). Sorry for the bad news!

psteinroe avatar Aug 05 '21 12:08 psteinroe

+1 for Prisma

TamirShklaz avatar Sep 03 '21 18:09 TamirShklaz

+1 for Prisma

vadolasi avatar Nov 08 '21 18:11 vadolasi

Just came across this library and I'm already looking for a prisma integration.

omar-dulaimi avatar Nov 10 '21 20:11 omar-dulaimi

Ended up adding https://keystonejs.com/

jlarmstrongiv avatar Nov 11 '21 03:11 jlarmstrongiv

+1 for Prisma

adevil5 avatar Aug 01 '22 15:08 adevil5

Hello, are there any update for this feature? would be really cool

Khaalidsub avatar Feb 10 '24 19:02 Khaalidsub