Skip to content

V4 Fix sourceKey for hasMany, issue: #4258 - #7113

Merged
sushantdhiman merged 1 commit into
sequelize:masterfrom
twolfson:dev/master.6652.manual.sqwished
Jan 20, 2017
Merged

sushantdhiman merged 1 commit into
sequelize:masterfrom
twolfson:dev/master.6652.manual.sqwished

Conversation

@twolfson

Copy link
Copy Markdown
Contributor

Pull Request check-list

Please make sure to review and check all of these items:

  • Does npm run test or npm run test-DIALECT pass with this change (including linting)?
  • Does your issue contain a link to existing issue (Closes #[issue]) or a description of the issue you are solving?
  • Have you added new tests to prevent regressions?
  • Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?
  • Have you added an entry under Future in the changelog?

NOTE: these things are not required to open a PR and can be done afterwards / while the PR is open.

Description of change

I'm interested in adding sourceKey support for hasOne but before that, we need to get the pending sourceKey support for hasMany landed as they have common logic for query-generator. This PR takes the already approved #6652 and brings its changes over to master as requested:

#6652 (comment)

Unfortunately, it was much easier to perform these changes by hand than merging so the historical trail is gone =/

In this PR:

@sushantdhiman sushantdhiman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apart from ES6 changes might be required by @felixfbecker , LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants