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

Handle ErrRecordNotFound appropriately #51

Open
thisisommore opened this issue Oct 8, 2022 · 0 comments
Open

Handle ErrRecordNotFound appropriately #51

thisisommore opened this issue Oct 8, 2022 · 0 comments
Labels
also-ref-external There are other repos which has same code base and might also relate to this issue

Comments

@thisisommore
Copy link
Contributor

ErrRecordNotFound is only thrown when we use functions like First and Last with gorm, it is to be noted that it is not thrown when functions like Find is used, so the code needs to be audited accordingly, and test cases should be written to avoid any security issues.

@thisisommore thisisommore added the also-ref-external There are other repos which has same code base and might also relate to this issue label Oct 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
also-ref-external There are other repos which has same code base and might also relate to this issue
Projects
None yet
Development

No branches or pull requests

1 participant