You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following the creation example, I run into this problem:
Apparently the 'data' property is waiting for a PrismaUnion<ClientCreateInput, ClientUncheckedCreateInput>.
I tried to use PrismaUnion.zero, but I end up falling for this assertion.
This assert make no sense to me, because if use the factory zero or one throws a assertion error.
SUGGESTION: zero != null || one != null
The text was updated successfully, but these errors were encountered:
Following the creation example, I run into this problem:
Apparently the 'data' property is waiting for a PrismaUnion<ClientCreateInput, ClientUncheckedCreateInput>.
I tried to use PrismaUnion.zero, but I end up falling for this assertion.
This assert make no sense to me, because if use the factory zero or one throws a assertion error.
SUGGESTION: zero != null || one != null
The text was updated successfully, but these errors were encountered: