Skip to content

[@loopback/sequelize] Scope setting on Loopback Model is ignored by Sequelize extension #10169

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
KalleV opened this issue Nov 7, 2023 · 0 comments · Fixed by #10170
Closed
Labels

Comments

@KalleV
Copy link
Contributor

KalleV commented Nov 7, 2023

Describe the bug

Setting a default scope via https://loopback.io/doc/en/lb4/Model.html#scope is not working with the Sequelize extension.

Logs

No response

Additional information

I found an equivalent API for Sequelize v6: https://sequelize.org/docs/v6/other-topics/scopes/#definition.

Reproduction

#10170

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant