Skip to content

Conversation

iBakuman
Copy link
Contributor

No description provided.

Updated the gormlint linter to enforce that the first call on a gorm.DB instance must use WithContext or Session with a valid context parameter. Added new test cases to validate the enforcement of this rule, ensuring better adherence to context management practices in GORM usage.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants