firebase / firebase/functions-samples

child-count

Open
#739 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12.2k
Forks
3.8k
Avg merge
3d 23h
Merged PRs (30d)
1

Description

@jhuleatt

Hi there, I'm using your child-count function and noticed that if the Post Node gets removed the script automatically creates a new Entry with the same id and "likes":0
Is there any way to detect if the parent was deleted so no empty posts get created?

Thank you.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.