New filters on the Home Feed, take a look!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

2
subcollection deletion workaround
Post Flair (click to view more posts with a particular flair)
Post Body

since firebase doesn't delete a subcollection automatically once the document is deleted, I'm thinking of a workaround using an "admin" app.

  1. I have the documents have a field called "marked_for_deletion" with a default value of false.
  2. The view check for this field and if it's true, doesn't show them

  3. When the user deletes the document, set this field true.

  4. Then at a later time, my other app deletes all the documents recursively or iteratively.

this way, I avoid the performance hit in my original app.

What's wrong with my idea? It's probably wrong, but I don't know why.

Edit: Or I could just leave the documents marked for deletion as is and ignore them.

Author
Account Strength
90%
Account Age
8 years
Verified Email
Yes
Verified Flair
No
Total Karma
3,352
Link Karma
759
Comment Karma
2,442
Profile updated: 2 days ago
Posts updated: 1 month ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
7 months ago