The Comments in rest api are already setup to be in nested state. There is a comment tree which defines the logic for retrieving nested comments. Find a way to show this nested tree in the view using thymeleaf.
Study CommentTree.Java for further information
The Comments in rest api are already setup to be in nested state. There is a comment tree which defines the logic for retrieving nested comments. Find a way to show this nested tree in the view using thymeleaf. Study CommentTree.Java for further information