farmOS / farmOS.js

A JavaScript library for working with farmOS data structures and interacting with farmOS servers.
MIT License
15 stars 13 forks source link

Add pagination and/or limit options #42

Closed jgaehring closed 2 years ago

jgaehring commented 2 years ago

I'm already running into an issue testing Field Kit on a large database of assets and running into the issue that I'm no longer chaining requests by default, as I was in 1.x:

https://github.com/farmOS/farmOS.js/blob/2e3539ac595ae0316c683032d713b45b8f51cdb9/index.js#L202-L214

Especially since assets and areas are now essentially lumped together, there are a lot of assets that I'll need to pull to Field Kit, in order to perform basic actions in Field Kit's Tasks module.