typicode/jsonplaceholder

Nested resources are returning all resources

Open

#91 aperta il 10 gen 2019

Vedi su GitHub
 (7 commenti) (15 reazioni) (0 assegnatari)HTML (567 fork)batch import
bughelp wanted

Metriche repository

Star
 (4964 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor