Skip to content

[CORE-370] Add Cancel Submission Endpoint for Responses#185

Merged
dytsou merged 3 commits into
mainfrom
feat/CORE-370-cancel-submission
Jul 7, 2026
Merged

[CORE-370] Add Cancel Submission Endpoint for Responses#185
dytsou merged 3 commits into
mainfrom
feat/CORE-370-cancel-submission

Conversation

@dytsou

@dytsou dytsou commented Jun 28, 2026

Copy link
Copy Markdown
Member

Type of changes

  • Feature
  • Test

Purpose

  • Add POST /api/responses/{responseId}/cancel to revert a submitted response to draft
  • Add ErrResponseNotSubmitted error handling for invalid cancel attempts
  • Add integration tests in test/integration/form/form_test.go
  • Resolve issue CORE-370

Additional Information

@dytsou dytsou self-assigned this Jun 28, 2026
@dytsou
dytsou requested review from Dada8825252, kevinlin0313 and linoil and removed request for linoil June 28, 2026 07:30
@dytsou dytsou changed the title [CORE-370] Add cancel submission endpoint for responses [CORE-370] Fix Form List Deadline Filter for Null-Deadline Forms Jun 28, 2026
@dytsou dytsou changed the title [CORE-370] Fix Form List Deadline Filter for Null-Deadline Forms [CORE-370] Add Cancel Submission Endpoint for Responses Jun 28, 2026
@dytsou
dytsou force-pushed the feat/CORE-370-cancel-submission branch from bcbb891 to 5116bf9 Compare July 3, 2026 05:04
Comment thread test/integration/form/form_test.go
dytsou added a commit that referenced this pull request Jul 3, 2026
- Assert response stays submitted after non-owner cancel rejection
@dytsou
dytsou force-pushed the feat/CORE-370-cancel-submission branch from c37a7d7 to 0934060 Compare July 3, 2026 11:36
@dytsou
dytsou merged commit 04e21b6 into main Jul 7, 2026
8 checks passed
@dytsou
dytsou deleted the feat/CORE-370-cancel-submission branch July 7, 2026 13:33
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.

3 participants