go-gorm / playground

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

Broken backward compatibility with join and preload #749

Open teatou opened 2 weeks ago

teatou commented 2 weeks ago

Starting from v1.25.7, gorm is having trouble unmarshalling data into desired struct when the query returns any insignificant rows after using Preload and Joins. Seems like it is caused by https://github.com/go-gorm/gorm/pull/6771.