Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

incompatible with gorm v1.25.12 #145

Closed
EvisuXiao opened this issue Sep 9, 2024 · 2 comments
Closed

incompatible with gorm v1.25.12 #145

EvisuXiao opened this issue Sep 9, 2024 · 2 comments
Assignees

Comments

@EvisuXiao
Copy link

GORM Playground Link

go-gorm/gorm#7142

Description

current dbresolver tag: v1.5.2

When I upgrade go-gorm to the latest tag (v1.25.12), i can't launch my project. I has previewed the changelog and i found an issue https://github.com/go-gorm/gorm/pull/7142/files ,which fixs a problem of memory leaks.But it had removed a field "PreparedSQL" from struct "PreparedStmtDB".
Unfortunately, gorm dbresolver is using this field currently (dbresolver.go at line 147), it seems initialed only and not referred by other function, we can remove it too.
It's confused to me, i can't upgrade gorm to the latest until the breaking change has been fixed. Could u help me, thanks a lot.

@smalls0098

This comment has been minimized.

@a631807682
Copy link
Member

upgrade to v1.5.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants