-
Couldn't load subscription status.
- Fork 241
feat: add transaction support #633
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
af8f99e to
5150a52
Compare
|
@darknos thanks for the PR and sorry for the inconvenience. Many developers are waiting for your new feature to be published 👍 . |
|
any updates? |
5150a52 to
76ad701
Compare
Signed-off by: Sergey Nosenko <[email protected]> Signed-off-by: Rifa Achrinza <[email protected]>
76ad701 to
91c865b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not familiar with the code but the changes look reasonable to me.
As a nitpick, I wonder if we want to add some debug statement in there, like what we did in the postgresql connector. When debugging a transaction issue long time ago for that connector, it does help to have debug turned on and have something printed out. But this could be out of scope for this PR. Thanks.
UPDATED: meant to include this link: https://github.com/loopbackio/loopback-connector-postgresql/blob/master/lib/transaction.js
The postgreSQL connector only print debug |
|
@dhmlau I propose merging this PR first, then adding the debug statement later if needed. |
I believe that the debug print outs should be placed in the loopback-datasource-juggler not on every connector. The reason why is because this debug printings are general and can be caught in the loopback-datasource-juggler . We are duplicating code and effort. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed to land this PR first and add the debug info as a separate PR. Thanks.
Blocked by #634Replaces #626
Signed-off by: Sergey Nosenko [email protected]
Signed-off-by: Rifa Achrinza [email protected]
Checklist
npm testpasses on your machine