Richard Kaufman-López
01/05/2022, 8:18 PMparams.args.where.deletedAt = null
, but that throws an error because
Argument where of type PostWhereUniqueInput needs exactly one argument, but you provided id and deletedAt. Please choose one.
The first idea that comes to mind is to intercept the call, check if the resource exists or not, then replace the action with create
or update
, but honestly, this doesn’t sound right.