sequelize-typescript icon indicating copy to clipboard operation
sequelize-typescript copied to clipboard

[docs] How to use BeforeConnect hook?

Open venkatramachandran opened this issue 5 years ago • 1 comments

Versions

  • sequelize: 5.21.13
  • sequelize-typescript: 1.1.0
  • typescript: 3.8.2

I'm submitting a ...

[ ] bug report [x] feature request

Actual behavior:

Docs are incomplete on how to use connection level hooks.

Expected behavior:

Docs need to be enhanced on how to use the hooks.

Steps to reproduce:

Read the docs. Related code:

venkatramachandran avatar Aug 19 '20 03:08 venkatramachandran

Is there any update on how to use beforeconnect hook? Why does it not work as normal sequelize hooks in JavaScript. I am using AWS RDS secrets in both JavaScript and Typescript project. JavaScript sequelize hooks version works fine but Typescript version does not works.

Bshah88 avatar Jul 13 '21 14:07 Bshah88