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
docs: joinTableAttributes
in belongsToMany
mixin
#13902
Conversation
This address #11847 partially at least - I'm not sure where else it should be documented.
I'm still not quite sure why this doesn't work - I see that we're manually adding an entry to the include array in belongs-to-many.js I'm guessing this is so that we have the join model attributes by default, and because we're not controlling the join, it would be awkward to try to add it. A naive attempt at suppressing the join table would look something like:
but that would actually attempt to join the returned I don't know the best way to explain that succinctly - I've done my best here. |
joinTableAttributes
in belongsToMany
mixinjoinTableAttributes
in belongsToMany
mixin
* Document `joinTableAttributes` in `belongsToMany` mixin This address #11847 partially at least - I'm not sure where else it should be documented. * Tweak wording a bit * Try to make this a little clearer Co-authored-by: fncolon <fncolon@pm.me>
🎉 This PR is included in version 7.0.0-alpha.6 🎉 The release is available on: Your semantic-release bot 📦🚀 |
* Document `joinTableAttributes` in `belongsToMany` mixin This address #11847 partially at least - I'm not sure where else it should be documented. * Tweak wording a bit * Try to make this a little clearer Co-authored-by: fncolon <fncolon@pm.me>
Thank you very much for adding the documentation. |
This address sequelize/website#97 partially at least - I'm not sure where else it should be documented.