-
Notifications
You must be signed in to change notification settings - Fork 83
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
Proposed fix: Fix through
associations on join tables
#83
Comments
Please do! |
Yup, would appreciate it greatly! |
Yes, we're left hanging on our update to v4, please submit a PR. |
Sorry everyone, will submit a PR in a couple hours
Best,
…--paul
On Nov 28, 2017, 1:51 AM -0800, Hugo Des ***@***.***>, wrote:
Yes, we're left hanging on our update to v4, please submit a PR.
@pcsanwald could you provide a link to your fork so we can use it on our project in the meantime ?
cheers
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@sevarubbo @hugodes @seahyc this is addressed in PR #84 |
@domasx2 could you release this with a version bump please ? |
Done, 0.7.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The current problem with adding attributes to join tables is due to the following change in sequelize:
v3:
group.addUser( alice, { role: 'member' });
v4:
group.addUser( alice, { through: { role: 'member' }});
I've forked the repo, upgraded sequelize, made the required fix. I'm happy to open a PR for this repo, if you are ok with dropping support for sequelize v3. Thoughts?
The text was updated successfully, but these errors were encountered: