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
Stub is creating fake data, but it creates fake createdAt and other fields that should not be created.
I now have dozens of .omit({ createdAt: true}) and omit(data, ['createdAt']).
It's also a problem, when value is canRead=false, since type is T | undefined, but create expects that value.
The text was updated successfully, but these errors were encountered:
Stub is creating fake data, but it creates fake
createdAt
and other fields that should not be created.I now have dozens of
.omit({ createdAt: true})
andomit(data, ['createdAt'])
.It's also a problem, when value is
canRead=false
, since type isT | undefined
, but create expects that value.The text was updated successfully, but these errors were encountered: