go-gorm / playground

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

Association replace fails with custom PK #744

Closed SergeiSadov closed 5 months ago

SergeiSadov commented 5 months 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