Skip to content

feat: add DELETE /tasks/:id endpoint - #7

Open
greatwallconnectblitzlog[bot] wants to merge 2 commits into
mainfrom
feat/issue-1-add-delete-endpoint
Open

feat: add DELETE /tasks/:id endpoint#7
greatwallconnectblitzlog[bot] wants to merge 2 commits into
mainfrom
feat/issue-1-add-delete-endpoint

Conversation

@greatwallconnectblitzlog

Copy link
Copy Markdown

Closes #1

Add the missing DELETE endpoint that closes the basic CRUD surface.

  • src/store.rs — add remove(&mut self, id: &Uuid) -> bool.
  • src/handlers.rs — add delete_task handler returning 204 or 404.
  • src/bin/taskforge.rs — wire up .delete(handlers::delete_task).
  • tests/integration.rs — cover both success and not-found paths.

Verification:

  • cargo test — 6/6 pass.
  • cargo fmt --check && cargo clippy --all-targets -- -D warnings — clean.

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.

Add DELETE /tasks/:id endpoint

1 participant