feathersjs / feathers

The API and real-time application framework
https://feathersjs.com
MIT License
15.03k stars 748 forks source link

fix(core): Add PaginationParams to general find method of 'FeathersService' #3095

Closed fratzinger closed 1 year ago

fratzinger commented 1 year ago

For a not explicitely typed service, the Service uses the FeathersService type from @feathersjs/feathers. FeathersService extends ServiceMethods which does not support paginate param for find method. So service.find({ paginate: false }) throws because paginate is not defined in interface Params.

See:

Bildschirm­foto 2023-03-08 um 23 45 05 Bildschirm­foto 2023-03-08 um 23 46 18