Expose isActive()
method in Transaction interface
#3471
Labels
developer-experience
Issues affecting ease of use and overall experience of LB users
Repository
Issues related to @loopback/repository package
Milestone
Steps to reproduce
Coming from #3397 (comment). We need to expose an API for transactions in LB4 to check if a transaction is active or not.
Acceptance Criteria
isActive
method inloopback-connector
that checks if the connection object on a transaction is present or not, thus indicating if transaction itself is active. Add unit tests to verify the behaviour and release a new minor version of the module.Transaction
interface in loopback-next and use it in tests andbefore/after
hooks to check if transactions are activeThe text was updated successfully, but these errors were encountered: