-
Notifications
You must be signed in to change notification settings - Fork 0
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
TT-13870 Fix POST update #4
base: master
Are you sure you want to change the base?
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
PR Type
Bug fix, Enhancement
Description
Fix issue with POST update requests for existing records
Add check for record existence before update or create
Return appropriate errors for missing records or permission issues
Distinguish between create and update operations based on primary key
Changes walkthrough 📝
crud.go
Fix POST update behavior and add existence checks
resource/crud.go
and HTTP method