Closed donovanrost closed 3 years ago
I took a look at this since i was on the topic of MoreComments
and it seems like doing this would go against praw
's definition of the replaceMore()
function.
Also won't this make the comment list unordered? I honestly think that any who wants to use this should just create their own list and append to it as needed.
That said, currently the skipped
list is useless and should be returned together with the remaining MoreComments
like its done in praw
.
That said, currently the
skipped
list is useless and should be returned together with the remainingMoreComments
like its done inpraw
.
Yes, that's probably the right thing to do. Not sure why that skipped
list wasn't ever really used or returned. Would you mind filing an issue? We probably only have to update the return type of replaceMore()
to return the list of skipped MoreComment
instances.
Added the option in
replaceMore()
to expand only a single instance of MoreComments.MoreComments is able to get its children, but when a client calls children() on MoreComments, those new Comments are removed from the CommentForest. So it makes sense that CommentForest it able to add new children to itself.