typicode/jsonplaceholder

Nested resources are returning all resources

Open

#91 opened on Jan 10, 2019

View on GitHub
 (7 comments) (15 reactions) (0 assignees)HTML (4,964 stars) (567 forks)batch import
bughelp wanted

Description

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.

Contributor guide