these changes concern how objects which interact with Cachex
are managed. to ensure we do not have zombie objects returning, we should never ever directly delete the objects with Repo.delete
, and instead use object-specific deleters.
in this MR:
Object.delete()
cleanups pointed out by lainUser.invalidate_cache()
now deletes zombie user_info data.User.delete()
now returns {:ok, deleted_user}
to match Object.delete()
.