Why is GORM migration inferring the wrong data types for a many to many relationship?
I have the following structs generated by Gorm Gen:
How can I delete associated models in Gorm?
I’m facing a problem with deleting ModelA
along with its associated ModelB
instances using Gorm’s soft delete methods. Here’s a simplified version of my code: