GORM Playground Link
https://github.com/go-gorm/playground/pull/694
Description
I am getting the following error Define a valid foreign key for relations or implement the Valuer/Scanner interface despite the interface is implemented as suggested in the tests/documentation.
Current version (broken):
- gorm.io/gorm v1.25.10
- gorm.io/driver/postgres v1.5.7
Working versions:
- gorm.io/gorm v1.25.7
- gorm.io/driver/postgres v1.5.6