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

Fix #1070 Fixed an issue where related fields could not be updated during a transaction. #1239

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

miya-masa
Copy link
Contributor

@miya-masa miya-masa commented Nov 28, 2024

  • Do only one thing
  • Non breaking API changes
  • Tested

What did this pull request do?

Fix #1070

User Case Description

@miya-masa
Copy link
Contributor Author

The main changes can be found at the following URL.
The modification ensures that the db is cloned when handling relations.

https://github.com/go-gorm/gen/pull/1239/files#diff-ae5f488dd7b12f9f9a24b68a112d5b337f4d8dd2aa3f9a1b786d5ef0350e3d78L109-R119

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

Successfully merging this pull request may close these issues.

Locked when i try to append association in transaction mode via gorm/gen
1 participant