Instead of keeping the parent id as metadata, include links in the body and it'll automatically add as reply/comment. Then add a nice replies API and hide the reply link on the frontend. By convention, the first text of a reply should be the parent link.
Instead of keeping the parent id as metadata, include links in the body and it'll automatically add as reply/comment. Then add a nice replies API and hide the reply link on the frontend. By convention, the first text of a reply should be the parent link.