Skip to content

feat(typings): add UnknownConstraintError#13461

Merged
sdepold merged 3 commits into
sequelize:mainfrom
atrick-speedline:patch-1
Oct 10, 2021
Merged

feat(typings): add UnknownConstraintError#13461
sdepold merged 3 commits into
sequelize:mainfrom
atrick-speedline:patch-1

Conversation

@atrick-speedline
Copy link
Copy Markdown
Contributor

@atrick-speedline atrick-speedline commented Aug 26, 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

UnknownConstraintError is not in the typings, and I'm not sure why. It makes it akward to do an instanceof UnknownConstraintError check from typescript in a type-safe way though.

@sdepold sdepold self-assigned this Oct 9, 2021
@sdepold sdepold merged commit 69d899e into sequelize:main Oct 10, 2021
@atrick-speedline atrick-speedline deleted the patch-1 branch October 18, 2021 16:29
@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
Co-authored-by: Sascha Depold <sdepold@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants