You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement the find method of a service without adding the field paginated inside the parameters
Check the return type of the service
Expected behavior
By default the feathers service return a paginated response if we don't specify the field paginated: false.
So the returned type of a find method need to be paginated by default.
Actual behavior
When we use the find method of a service that extends SequelizeService<R, D, SP, PD> the return type is not like expected.
We got an union of paginated type and not paginated type
System configuration
Tell us about the applicable parts of your setup.
Module versions: 7.0.3 (latest)
NodeJS version: v18.12.0
Operating System: Ubuntu 22.04.4
Browser Version: v120
React Native Version: N/A
Module Loader: N/A
The text was updated successfully, but these errors were encountered:
Steps to reproduce
Expected behavior
By default the feathers service return a paginated response if we don't specify the field paginated: false.
So the returned type of a find method need to be paginated by default.
Actual behavior
When we use the find method of a service that extends SequelizeService<R, D, SP, PD> the return type is not like expected.
We got an union of paginated type and not paginated type
System configuration
Tell us about the applicable parts of your setup.
Module versions: 7.0.3 (latest)
NodeJS version: v18.12.0
Operating System: Ubuntu 22.04.4
Browser Version: v120
React Native Version: N/A
Module Loader: N/A
The text was updated successfully, but these errors were encountered: