You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.
It seems a little bit awkward that posts do not contain the number of comments. In order to show the number of comments (not the actual comments) for a post, you need to fetch all comments for the post and count them. A user may never click on a post to see the comments, but we still need to fetch them.
The text was updated successfully, but these errors were encountered:
ioannisioannou16
changed the title
Number of comments in posts (feature request)
Number of comments in a post (feature request)
Sep 12, 2017
+1000. If you're listing 10 posts on the posts list page and they have an average of 30 comments, that's 300 pieces of data being pulled over the wire that's pointless. Ideally, the response should be { items: [ ....., commentCount: 33 } at a minimum and likewise the same for the fetch post details endpoint.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It seems a little bit awkward that posts do not contain the number of comments. In order to show the number of comments (not the actual comments) for a post, you need to fetch all comments for the post and count them. A user may never click on a post to see the comments, but we still need to fetch them.
The text was updated successfully, but these errors were encountered: