You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we're getting all posts from users and filter them on the frontend, even when looking for specific posts, which will get slow.
We need a way to retrieve all posts of a certain property (e.g. from user whose id = 42; with tag = "someTag")
Solution
Create endpoints for those cases:
Get all posts from user of a given id
Get all posts with a given tag
... will have to think about whether we need more
The text was updated successfully, but these errors were encountered:
Problem
Currently we're getting all posts from users and filter them on the frontend, even when looking for specific posts, which will get slow.
We need a way to retrieve all posts of a certain property (e.g. from user whose id = 42; with tag = "someTag")
Solution
Create endpoints for those cases:
The text was updated successfully, but these errors were encountered: