Open
Description
Steps to reproduce
feathers-hooks-common
has a disablePagination hook that allows us to pass in $limit: -1
to disable pagination for a Feathers service.
When passing $limit: -1
to useFind
params in feathers-vuex
, we have to use both params
and fetchParams
as a workaround since feathers-vuex
doesn't see $limit: -1
as turning off pagination.
Expected behavior
If $limit: -1
is passed to useFind
params
I would expect for it to add paginate: false
to the params and $limit: -1
to the fetchParams in the background.
Actual behavior
feathers-vuex
doesn't turn off pagination if $limit: -1
is passed to params
.
System configuration
Module versions (especially the part that's not working):
"feathers-vuex": "^3.15.0"
"vuex": "^3.6.2"
NodeJS version:
"node": "14.4.0"
"npm": ">= 6.14.5"
Operating System:
- Linux/Docker
Browser Version:
- Latest Chrome
Module Loader:
- Vue CLI