typicode/jsonplaceholder

Nested resources are returning all resources

Open

#91 opened on 2019年1月10日

GitHub で見る
 (7 comments) (15 reactions) (0 assignees)HTML (567 forks)batch import
bughelp wanted

Repository metrics

Stars
 (4,964 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

When calling a GET for https://jsonplaceholder.typicode.com/posts/1/comments all comments for every post is returned. Expected behaviour is that only comments with postId of 1 should be returned. This is occurring in all of the nested resource examples.

コントリビューターガイド