Skip to content

fix(include): deep include with limit/offset - #9900

Closed
sushantdhiman wants to merge 1 commit into
masterfrom
fix-deep-includes
Closed

sushantdhiman wants to merge 1 commit into
masterfrom
fix-deep-includes

Conversation

@sushantdhiman

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 the description below contain a link to an 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)?
  • Did you follow the commit message conventions explained in CONTRIBUTING.md?

Description of change

Fixes #9869

@codecov

codecov Bot commented Sep 9, 2018

Copy link
Copy Markdown

Codecov Report

Merging #9900 into master will increase coverage by 5.01%.
The diff coverage is 100%.

offset: 1
}))
.then(result => {
expect(result.name).to.equal('David');

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.

this.Media.bulkCreate(build('mediaA', 'mediaB', 'mediaC', 'mediaD')),
this.File.bulkCreate(build('FileA', 'FileB'))
))
.spread((users, posts, comments, medias, files) => Promise.join(

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.

Nit: Use es6 spread instead.

@sushantdhiman
sushantdhiman deleted the fix-deep-includes branch November 22, 2018 04:14
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.

2 participants