1590751131
Soft deletion events use before in event properties. But we set the after instead, that only contains a few data. Fixes https://github.com/twentyhq/twenty/issues/15120 Debugging raised an additional issue. UpdateMany, RestoreMany and SoftDeleteMany were broken for custom objects. The `where` clause was using "_objectName.id" instead of "objectName.id" during select. That's why we need to use different where clause between the select of the existing value and the actual mutation. --------- Co-authored-by: Charles Bochet <charles@twenty.com>