go-gorm / playground

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

Should association with uniqueIndex work? #691

Closed swills closed 6 months ago

swills commented 6 months ago

Your Question

Ran into a similar issue and reproduced it in the playground, see https://github.com/go-gorm/playground/pull/690

Should this work or no?

Expected answer

If this should work, then I guess this is a bug?

swills commented 6 months ago

Oops, meant to open this in gorm.