feathers-sequelize icon indicating copy to clipboard operation
feathers-sequelize copied to clipboard

fix: service find method return type

Open yassinedorbozgithub opened this issue 1 year ago • 0 comments

Summary

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

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. #426 426

yassinedorbozgithub avatar Jan 26 '24 12:01 yassinedorbozgithub