Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

Number of comments in a post (feature request) #13

Open
ioannisioannou16 opened this issue Sep 12, 2017 · 2 comments
Open

Number of comments in a post (feature request) #13

ioannisioannou16 opened this issue Sep 12, 2017 · 2 comments

Comments

@ioannisioannou16
Copy link

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.

@ioannisioannou16 ioannisioannou16 changed the title Number of comments in posts (feature request) Number of comments in a post (feature request) Sep 12, 2017
@r0hit-gupta
Copy link

Yes. This is a must have feature that needs to be implemented.

@forestmarie
Copy link

forestmarie commented Sep 28, 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 free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants