Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Soft delete removes auth_field from document #1188
When using soft delete, the deleted document should remain with auth_field after deleted. I've tested using eve 0.7 and this is true, but I've noticed using eve 0.8 that with soft delete enabled, when a document is deleted, its auth_field is removed.
I see here, inside eve's
That's undesired in my case because I need to keep the deleted documents belonging to the user that owns it. So later when getting the deleted documents I can bring the ones he deleted, and losing the auth_field this is not possible, the document ends ups inaccessible since it has no auth_field but the schema uses it.