We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Got this error when using:
import ( "gorm.io/gorm" "github.com/qor/validations" ) database, _ := gorm.Open(...) validations.RegisterCallbacks(database)
Err:
cannot use database (variable of type *"gorm.io/gorm".DB) as *"github.com/jinzhu/gorm".DB value in argument to validations.RegisterCallbacks
The text was updated successfully, but these errors were encountered:
Same
Sorry, something went wrong.
same issue
No branches or pull requests
Got this error when using:
Err:
cannot use database (variable of type *"gorm.io/gorm".DB) as *"github.com/jinzhu/gorm".DB value in argument to validations.RegisterCallbacks
The text was updated successfully, but these errors were encountered: