orbitjs / orbit

Composable data framework for ambitious web applications.
https://orbitjs.com
MIT License
2.33k stars 134 forks source link

[Question] Query to JSON:API with sparse fieldset #947

Closed ahoyahoy closed 2 years ago

ahoyahoy commented 2 years ago

How to make query like findRecords() which create json:api request with limited number of selected fields?

Like this GET /articles?include=author&fields[articles]=title,body,author&fields[people]=name

towerhe commented 2 years ago

@ahoyahoy have a look at #889