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 unique constraint on patch and put #178

Conversation

pbalogh-sa
Copy link
Member

@pbalogh-sa pbalogh-sa commented Mar 22, 2023

Description

In the case of PATCH and PUT methods handle the unique constraints similar to the POST.

Type of Change

[ ] Bug Fix
[x] New Feature
[ ] Breaking Change
[ ] Refactor
[ ] Documentation
[ ] Other (please describe)

Checklist

  • I have read the contributing guidelines
  • Existing issues have been referenced (where applicable)
  • I have verified this change is not present in other open pull requests
  • Functionality is documented
  • All code style checks pass
  • New code contribution is covered by automated tests
  • All new and existing tests pass

@pbalogh-sa pbalogh-sa marked this pull request as ready for review March 22, 2023 15:58
@pbalogh-sa pbalogh-sa requested a review from a team as a code owner March 22, 2023 15:58
backend/pkg/database/gorm/scan.go Show resolved Hide resolved
backend/pkg/database/gorm/scan_config.go Outdated Show resolved Hide resolved
backend/pkg/database/gorm/scan_result.go Outdated Show resolved Hide resolved
@pbalogh-sa pbalogh-sa changed the title Handle unique constraint on patch and put ap is Handle unique constraint on patch and put apis Mar 24, 2023
@pbalogh-sa pbalogh-sa changed the title Handle unique constraint on patch and put apis Handle unique constraint on patch and put Mar 24, 2023
backend/pkg/database/gorm/scan.go Outdated Show resolved Hide resolved
backend/pkg/database/gorm/scan.go Show resolved Hide resolved
FrimIdan
FrimIdan previously approved these changes Mar 29, 2023
Signed-off-by: Peter Balogh <p.balogh.sa@gmail.com>
@pbalogh-sa pbalogh-sa merged commit 50ced00 into main Mar 30, 2023
@pbalogh-sa pbalogh-sa deleted the PA-12050-vm-clarity-handle-unique-constraint-on-patch-and-put-ap-is branch March 30, 2023 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants