go-gorm / playground

GORM Playground (Please Create PR for this project to report issues)
MIT License
88 stars 666 forks source link

Association replace fails with custom PK #744

Closed SergeiSadov closed 1 month ago

SergeiSadov commented 1 month ago

Explain your user case and expected results

Want: replace should update the existing entity's values on conflict Actual: replace updates PK on conflict