Skip to content

fix(types): add missing upsert hooks#13394

Merged
Keimeno merged 7 commits into
sequelize:mainfrom
reediculous456:patch-1
Oct 10, 2021
Merged

fix(types): add missing upsert hooks#13394
Keimeno merged 7 commits into
sequelize:mainfrom
reediculous456:patch-1

Conversation

@reediculous456
Copy link
Copy Markdown
Contributor

@reediculous456 reediculous456 commented Jul 22, 2021

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 update the typescript typings accordingly (if applicable)?
  • Did you follow the commit message conventions explained in CONTRIBUTING.md?

Description of change

Adds the types missing in this PR: #12965
Closes #12965
Closes #12802

@Keimeno Keimeno added the typescript For issues and PRs. Things that involve typescript, such as typings and intellisense. label Jul 25, 2021
@Keimeno Keimeno changed the title Patch 1 fix(types): add missing upsert hooks Jul 25, 2021
@Keimeno Keimeno merged commit 5e9c209 into sequelize:main Oct 10, 2021
@reediculous456 reediculous456 deleted the patch-1 branch October 10, 2021 17:42
@github-actions
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 6.8.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

aliatsis pushed a commit to creditiq/sequelize that referenced this pull request Jun 2, 2022
* Missing upsert hooks

Upsert hooks are missing in types

* fix(types): missing upsert hooks

Fixed upsert options type

* fix(types): missing upsert hooks

Just having a bad day

* fix(types): added tests for upsert hooks

* fix(types): incorrect attributes types for afterUpsert

Co-authored-by: Sergio Bernal <sergioguillot@gmail.com>
Co-authored-by: Constantin Metz <58604248+Keimeno@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released typescript For issues and PRs. Things that involve typescript, such as typings and intellisense.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

beforeUpsert and afterUpsert hooks missing in type definition

4 participants