deso-protocol / deso-protocol/backend

get-posts-stateless - how to get 1st level comments?

Open
#289 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
139
Forks
84
PR merge metrics
No merged PRs in 30d

Description

There is a 'FetchSubComments' flag to set (which does not seem to work, maybe it is dependent on other flags?).

I see no top level comments option for this api call. I need to get all of 1st level comments for each post without having to call the 'get-single-post' api. is this possible?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the get-posts-stateless API and the FetchSubComments flag, then compare its behavior with the get-single-post API. Determine whether first-level comments can be returned per post without additional calls; done means the requested comments are available through get-posts-stateless and the flag behavior is clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.