-
Notifications
You must be signed in to change notification settings - Fork 75
Support withSchema [with PR] #433
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
Comments
At the currently supported version of sequelize, it would be just |
I also see that you are currently getting to a new major release. I'd love to slip this addition in :) |
I'm not sure how to structure the addition though. I see that
and then use this in all DB methods. What do you think? |
I am sorry for the slow response on this! I will investigate Sequelize's |
Thanks! I can see that you've got a lot on your hands (don't we all :D) so I completely understand, no rush :) |
|
@fratzinger So this enables you to use any options that the underlying sequelize Model has or may have. That's a great idea, my use case is covered by that perfectly. |
Are you already on the v8 pre release or which version of feathers-sequelize do you use? |
I'm on 7.0.2. Are you thinking about backporting it to 7? |
I'd like to dynamically change schema based on request params, which can be done in Sequelize by calling the model with
withSchema
, similarly towithScope
usage which is already supported by feathers-sequelize.Is that something you would accept in feathers-sequelize?
I can propose a PR.
The text was updated successfully, but these errors were encountered: