Infinite nested comment
I wanna make the nested comment system how do i do that
I only take the 2 level relation
2 Replies
When using a self-referencing column, don't forget to add an explicit return type here
As for infinite nesting, I'm not sure. You can manually pull a specific number of additional nestings like this:
I know many comment sections will have a finite number of nestings. One example being Disqus. It only goes up to 3 levels deep, but it also points out the author of the post it is responding to for clarity.
![No description](https://cdn.answeroverflow.com/1236668255171510333/CleanShot_2024-05-05_at_08.15.242x.jpg)
Thanks for the respond, will try this