We added our own RemoteCozy.queryAll() method to fetch the content
of a directory from the remote Cozy but its implementation was flawed
and would result in errors when there were multiple pages of documents
to fetch (i.e. we use 3000 docs pages).
Instead of fixing this implementation, we will now use cozy-client's
queryAll() method which is battle tested.
I don't understand why we didn't use it before.
Please make sure the following boxes are checked:
[x] PR is not too big
[x] it improves UX & DX in some way
[x] it includes unit tests matching the implementation changes
[x] it includes scenarios matching a new behaviour or has been manually tested
We added our own
RemoteCozy.queryAll()
method to fetch the content of a directory from the remote Cozy but its implementation was flawed and would result in errors when there were multiple pages of documents to fetch (i.e. we use 3000 docs pages).Instead of fixing this implementation, we will now use
cozy-client
'squeryAll()
method which is battle tested. I don't understand why we didn't use it before.Please make sure the following boxes are checked: