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
The text was updated successfully, but these errors were encountered:
vmlellis
changed the title
gorm.io/gorm.v1: Ignore some errors like record not found
contrib/gorm.io/gorm.v1: Ignore some errors like record not found
May 2, 2021
vmlellis
changed the title
contrib/gorm.io/gorm.v1: Ignore some errors like record not found
gorm.io/gorm.v1: Ignore some errors like record not found
May 2, 2021
vmlellis
changed the title
gorm.io/gorm.v1: Ignore some errors like record not found
proposal: gorm.io/gorm.v1 - Ignore some errors like record not found
May 6, 2021
I wish ignore errors such as "record not found", that is unnecessary to classify as error.
It is the same suggestion to jinzhu/gorm (#805), it's interesting to keep the same option in case the jinzhu/gorm be upgraded to gorm.io/gorm.v1 .
As suggested in the issue of jinzhu/gorm, I also suggest adding an option that can ignore some type of errors like below:
If you agree about it, I will make a PR.
The text was updated successfully, but these errors were encountered: