Repository navigation
fix: pass CLS transaction to model hooks - #13927
Conversation
|
Thank you for the PR :) |
|
Hi @ephys I tried! Couldn't figure out how to make it work though. I did test the change manually in our app though. Happy to give it a shot if you can guide. |
|
I'll try to take a stab at it next time I can |
|
Edit: nevermind it's not about query it's about the hook. 🤦♀️ |
|
I've added tests for this in branch Here they are: https://github.com/sequelize/sequelize/blob/feature/ephys/cls-in-hooks/test/integration/cls.test.js#L143 Feel free to copy them in your PR / to cherry pick the commit |
|
@ephys Still fails. Do you know why? |
|
Hi @heroic, did you get a chance to look at this again? Or is there something we can do to help? |
|
@WikiRik a colleague of mine is looking to get this closed! We should have this working soon |
|
Hi @AmirMelio I will be continuing it from here. |
7758520 to
e1d4dc2
Compare
joker00777
left a comment
There was a problem hiding this comment.
any idea why these are failing?
joker00777
left a comment
There was a problem hiding this comment.
Sorry for the late response : (
|
GitHub has issues with the caching today, I'll rerun the checks after they have solved that incident. |
|
@ephys any updates? |
|
@ephys waiting for your feedback : ) |
|
@ephys can we merge it now : ) ? |
ephys
left a comment
There was a problem hiding this comment.
There are a few unresolved comments from the previous review :)
e8d2346 to
aeecb25
Compare
|
Hey @ephys can you take a look now? |
|
This is great :) There are two remaining comments and then this is ready to merge:
Could you enable the option to allow maintainers to add commits on your branch once you are ready? We use it to update the branch before merging. |
|
Hi @ephys, since the fork is owned by an org, there isn't an option to enable |
|
I think we can try coordinating. If you can click the "update branch" button then @ me and/or @WikiRik, I'll merge this immediately before another PR |
|
@joker00777 we accidentally merged something else just now, could you update the branch once again? |
|
Sorry 😅 |
|
Thanks! After the tests pass, I'll merge this |
|
Thank You : ) |
|
There we go! Thanks again for working on this @joker00777 @heroic |
|
🎉 This PR is included in version 7.0.0-alpha.15 🎉 The release is available on: Your semantic-release bot 📦🚀 |


Pull Request Checklist
Please make sure to review and check all of these items:
npm run testornpm run test-DIALECTpass with this change (including linting)?Description Of Change
Fixes: #12973
Todos