GORM Playground Link
https://github.com/go-gorm/playground/pull/734
Description
While replacing associations using non-addressable parameter panic occurs. Here is an example of such usage from the docs:
db.Model(&user).Association("Languages").Replace(Language{Name: "DE"}, languageEN)
I've also submitted a PR in order to fix this https://github.com/go-gorm/gorm/pull/7012