Repository navigation
Scopes with foreign key #9735
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
Merged
sushantdhiman
merged 17 commits into
sequelize:master
from
u9r52sld:scopes-with-foreign-key
Oct 28, 2018
Merged
Scopes with foreign key #9735
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
b5e135c
fix(scopes-with-foreign-key): returning foreign key with scopes
u9r52sld 692b58d
fix(scopes-with-foreign-key): with defaultScope
u9r52sld 404f2a9
fix(scopes-with-foreign-key): modify test
u9r52sld 19361ec
fix(scopes-with-foreign-key): scope method should not expand attributes
u9r52sld 95adff6
fix(scopes-with-foreign-key): addScope function either
u9r52sld 82cc793
fix(scopes-with-foreign-key): unite attributes with array
u9r52sld 2ce55c4
fix(scopes-with-foreign-key): handle symbolic Sequezlie.OP
u9r52sld c50527d
fix(scopes-with-foreign-key): conform include before merging
u9r52sld 7267514
fix(scopes-with-foreign-key): enable to merge includes with find options
u9r52sld b90f445
fix(scopes-with-foreign-key): minor adjustment
u9r52sld bafba3e
fix(scopes-with-foreign-key): fix lint
u9r52sld 78848cb
fix(scopes-with-foreign-key): change merge logic for scopes and find …
u9r52sld c4e324c
fix(scopes-with-foreign-key): refactor, fix lint
u9r52sld c7e26ac
fix(scopes-with-foreign-key): add test
u9r52sld e31be36
fix(scopes-with-foreign-key): enable to merge attributes.include / ex…
u9r52sld 6b2f84a
fix(scopes-with-foreign-key): remove
u9r52sld df69b87
fix(scopes-with-foreign-key): remove unnecessary codes
u9r52sld File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the new merge strategy now (wrt https://github.com/sequelize/sequelize/blob/master/docs/scopes.md#merging), as far as I can tell it is still the same?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, it's almost the same. I just updated for issues #9087,#6245
For example, current merge strategy is as follows.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm I thought we discussed to have
attributes.include / excludemerge #9735 (comment)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, i'm sorry. I fixed it. e31be36