Help with Prisma schema
Im working on a NextJS project with Prisma and mangoDB
I have an Activity model that has a relationship with Member
when first creating an Activity it dosn't have members only and owner but i still want to set the default value to an empty array.
when I try to do so with a post request and set members: [] to an empty array i get this error:
Argument
will appreciate any help to solve this problem.
I have an Activity model that has a relationship with Member
when first creating an Activity it dosn't have members only and owner but i still want to set the default value to an empty array.
when I try to do so with a post request and set members: [] to an empty array i get this error:
Argument
members: Invalid value provided. Expected MemberCreateNestedManyWithoutActivityInput. will appreciate any help to solve this problem.

