Open imsanchez opened 9 months ago
I have a nested many-to-many relationship that uses a soft delete boolean (isDeleted).
isDeleted
The result includes the deleted item as null when it should be redacted:
null
{ "teams": [ { "team": null } ], }
Desired result:
{ "teams": [], }
For now, I decided to use your awesome prisma-extension-nested-operations package and filter the nulls.
Heya, sorry for the slow reply, I thought I had responded already!
Please can you post your schema? That will help me reproduce this 👍
Thank you for your kind words as well! 😄
I have a nested many-to-many relationship that uses a soft delete boolean (
isDeleted
).The result includes the deleted item as
null
when it should be redacted:Desired result:
For now, I decided to use your awesome prisma-extension-nested-operations package and filter the nulls.