SoftwareBrothers / adminjs-mikroorm

MIT License
3 stars 6 forks source link

Use a forked EntityManager for each transaction #12

Closed corbt closed 2 years ago

corbt commented 2 years ago

Currently, a global EntityManager is used for every operation. This causes an error that can be resolved by setting allowGlobalContext: true. But that isn't a great fix, because if you ever make an edit to an entity that fails, you'll never be able to make another change because the global context caches the failed change and never releases it.

github-actions[bot] commented 2 years ago

:tada: This PR is included in version 1.1.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: