GORM Playground Link
https://github.com/go-gorm/playground/pull/607
Description
I am trying to use UUID's as primary keys, and find that while updating the model that associates with another model, a brand new model gets created, even when the ID field is untouched.
This can easily be observed in the playground PR: A new Company is created, then a User is created with the Company's UUID. Then, we get the User row w/ the Company field preloaded, and try to update the name. Now a new Company is also created.
Comment From: black-06
Duplicate of #6324 and #6356