You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting with version 1.4.2, dbresolver is causing a stack overflow if the database connection is being closed. This issue is not happening with 1.4.1 or prior versions.
The text was updated successfully, but these errors were encountered:
Thank you for the issue. I've added possible solution: #111. According to the documentation it's not safe to reuse *gorm.DB after chain and finisher methods, so imho in practice it's better to use separate sessions.
GORM Playground Link
go-gorm/playground#633
Description
Starting with version 1.4.2,
dbresolver
is causing a stack overflow if the database connection is being closed. This issue is not happening with 1.4.1 or prior versions.The text was updated successfully, but these errors were encountered: