this post was submitted on 11 Aug 2023
7 points (100.0% liked)
Lemmy App Development
746 readers
1 users here now
A place for Lemmy builders to chat about building apps, clients, tools and bots for the Lemmy platform.
On-Topic:
- programming questions related to the Lemmy platform
- sharing your ideas, WIP, or released Lemmy-related work
Off-Topic:
- general programming questions unrelated to Lemmy
- feature requests for developers
- sharing or promoting work not related to Lemmy
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
What values are you sending for limit and page? Are you sure they just aren't out of range?
I think max_depth has a default, but I don't recall at the moment. Are the 10 comments you do get all trunk level comments, directly on the post?
From what I understand, depth only comes into play when you are viewing the comments of a specific post. If you are just listing comments across multiple posts in a community... they are presented flat. At least that is how lemmy-ui does it when I view comments for a community... which I assuming is using API /comment/list. Am I following what you are attempting?
I believe I've borked it by setting
page
to 0, if I start with 1, I don't receive the error, thanks for all the help.Cool to hear, have a great weekend