Skip to content

Restore foreignKey and as behaviour - reverts PR #5957 - #6109

Merged
janmeier merged 1 commit into
sequelize:masterfrom
overlookmotel:revert-pr5957
Jun 20, 2016
Merged

janmeier merged 1 commit into
sequelize:masterfrom
overlookmotel:revert-pr5957

Conversation

@overlookmotel

Copy link
Copy Markdown
Contributor

PR to revert PR #5957, as discussed here: #6023 (comment)

.then(function() {
return expect(self.user.countActiveTasks({})).to.eventually.equal(1);
});
return expect(this.user.countActiveTasks({})).to.eventually.equal(1);

@overlookmotel overlookmotel Jun 14, 2016 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@sushantdhiman Can you explain what this change did in your PR? Was it a fix of the test, unrelated to the foreignKey/as change?

@sushantdhiman sushantdhiman Jun 14, 2016 •

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.

Yes, It was

Edit: It was related to as and foreignKey, misread the unrelated

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

OK, so it should be reverted then along with rest of the PR? (for now, anyway!)

@overlookmotel

Copy link
Copy Markdown
Contributor Author

Random Travis failure. Trying again...

@overlookmotel

Copy link
Copy Markdown
Contributor Author

Think this is ready to merge now...

@overlookmotel

Copy link
Copy Markdown
Contributor Author

Rebased on latest master. Things are moving pretty fast, so @mickhansen @janmeier if you're happy with this PR, would it be possible to merge it before it gets in conflict with master again?

@janmeier
janmeier merged commit 47b3f61 into sequelize:master Jun 20, 2016
@janmeier

Copy link
Copy Markdown
Member

Thanks for pinging me @overlookmotel, I wanted to take my time reviewing to make sure we got it right this time, but then promptly forgot about it :)

@overlookmotel

Copy link
Copy Markdown
Contributor Author

@janmeier No worries. Thanks for merging!

@overlookmotel
overlookmotel deleted the revert-pr5957 branch June 20, 2016 13:45
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