Skip to content

fix: service find method return type#427

Open
yassinedorbozgithub wants to merge 1 commit intofeathersjs-ecosystem:masterfrom
yassinedorbozgithub:fix/service-find-method-return-type
Open

fix: service find method return type#427
yassinedorbozgithub wants to merge 1 commit intofeathersjs-ecosystem:masterfrom
yassinedorbozgithub:fix/service-find-method-return-type

Conversation

@yassinedorbozgithub
Copy link
Copy Markdown

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant