Comments (4)
API requests might be missing a type_
parameter:
- Comments load if we pass
type_=All
. - For example: The following request returns zero comments if we don't specify
type_=All
-> GET https://lemmy.world/api/v3/comment/list?post_id=1719940&sort=Top&page=1&auth=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjU1MTU4LCJpc3MiOiJsZW1teS53b3JsZCIsImlhdCI6MTY4OTcxMzE2NX0.gQf0aT0gg-dezBnpc2msE2BQsqQzuJ9h5wmD1cDVSCk&type_=All`
from leomard.
Relevant API doc: https://join-lemmy.org/api/types/ListingType.html
- Not sure which parameter is most appropriate: "All"|"Local"|"Subscribed"
- For this particular example (above comment), "Local" also returned 0 comments, only "All"/"Subscribed" returned the same set of comments.
from leomard.
After specifying "type_=All", CommentService
now gets all comments, but it currently filters out comments, so child comments don't get rendered after being downloaded.
from leomard.
Should be fixed in #82
from leomard.
Related Issues (20)
- [BUG] Sending post has no status indication HOT 1
- [FEATURE] Cross-post HOT 2
- [BUG] Notification indicator eventually stops updating automatically
- [BUG] Cannot upvote or downvote HOT 8
- [BUG] Subscribe list does not fully load HOT 2
- [FEATURE] Compact View HOT 2
- [FEATURE] Increase PostUIView padding/corner radius HOT 1
- [DEV] Refactor View body into separate @ViewBuilder var/func HOT 2
- [FEATURE] Multi-Account Support
- [BUG] Improve feed view scrolling performance and behaviour HOT 10
- [BUG] Post images reload when cell reappears after scrolled off-screen HOT 4
- [BUG] Feed List reloads to top when switching between tabs HOT 4
- [BUG] Duplicate posts in GetPostResponse.posts HOT 5
- [BUG] Unable to log in to accounts with 2FA enabled HOT 2
- [FEATURE] New Community preview for search
- [BUG] Duplicate call to updateUnreadMessagesCount() in ContentView HOT 2
- [BUG] Inbox: When showing all replies, after replying back, the message disappears HOT 1
- [BUG] Inserting images does not insert them at cursor position
- [FEATURE] UI changes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from leomard.