FirstOrCreate doesn't behave as expected
bkmeneguello opened this issue · 0 comments
bkmeneguello commented
GORM Playground Link
Description
FirstOrCreate doesn't behave like FirstOrInit and as stated in the docs: go-gorm/playground#765
I expect when an attribute is assigned (.Assign) it is set in the returned object.