json-server icon indicating copy to clipboard operation
json-server copied to clipboard

support for getting nested resources

Open abdullateef97 opened this issue 5 months ago • 1 comments

Adds support for getting nested resources using a foreign key

There was previous support for nested resources in the previous version which I found helpful, I also found this comments #1556 and #1567 My implementation follows this comment here https://github.com/typicode/json-server/issues/72#issuecomment-99162206

Example

/environments/12/reports should return reports where environmentId === 12

abdullateef97 avatar Sep 01 '24 22:09 abdullateef97