Skip to content
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

Use a forked EntityManager for each transaction #12

Merged
merged 1 commit into from
Jun 23, 2022

Conversation

corbt
Copy link

@corbt corbt commented May 13, 2022

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.

@corbt corbt force-pushed the master branch 2 times, most recently from 3d332ff to 268f5a9 Compare May 13, 2022 13:07
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.
@dziraf dziraf merged commit 076e740 into SoftwareBrothers:master Jun 23, 2022
github-actions bot pushed a commit that referenced this pull request Jun 23, 2022
@github-actions
Copy link

🎉 This PR is included in version 1.1.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants