-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Labels
help wantedExtra attention is neededExtra attention is neededtype:with reproduction stepswith reproduction stepswith reproduction steps
Description
GORM Playground Link
Description
I tried appending to a m2m association inside a concurrent goroutines and for some reason it appended only some of the data.
While creating a minimal code example to test this i narrowed it down to this:
- When the model is fetched from the db(previously created) & the associations are preloaded(Preload(clause.Associations)), it fails.
- If any of this changes the test passes(note the comments in the code)
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is neededtype:with reproduction stepswith reproduction stepswith reproduction steps