Skip to content

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

@tr1v3r tr1v3r changed the title Fix #1070 Fixed an issue where related fields could not be updated during a transaction. fix: fix an issue where related fields could not be updated during a transaction. Mar 25, 2025
@tr1v3r tr1v3r merged commit 9026932 into go-gorm:master Mar 25, 2025
13 checks passed
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
2 participants