Skip to content

docs: replace stale README api docs with published postman collection - #157

Merged
Dejmenek merged 3 commits into
mainfrom
docs/145-replace-stale-readme-api-docs-with-published-postman-collection
Sep 17, 2026
Merged

Dejmenek merged 3 commits into
mainfrom
docs/145-replace-stale-readme-api-docs-with-published-postman-collection

Conversation

@Dejmenek

Copy link
Copy Markdown
Owner

Summary

This pull request updates documentation to reference external API docs, adds integration tests for soft-delete logic, and adjusts entity relationships to fix soft-deletion.

Changes

  • README.md: Removed inline API documentation and GraphQL examples, added a link to a Postman collection.
  • TournamentMutationTests.cs: Added an integration test to verify soft-deleting tournaments and participants and their exclusion from default queries.
  • ApplicationDbContext.cs: Changed DeleteBehavior for Bracket, TournamentParticipant, and Match relationships to ClientNoAction to prevent change tracker throwing an exception when a principal was about to disappear while required dependants were still tracked as unchanged and referencing it.

Added DeleteTournament_SoftDeletesTournamentAndParticipants test to TournamentMutationTests. Verifies that deleting a tournament with participants soft-deletes both the tournament and its participants, ensuring they are marked as deleted but not removed from the database.
@Dejmenek Dejmenek linked an issue Sep 17, 2026 that may be closed by this pull request
12 tasks
@Dejmenek
Dejmenek merged commit 9d6d8f6 into main Sep 17, 2026
3 checks passed
@Dejmenek
Dejmenek deleted the docs/145-replace-stale-readme-api-docs-with-published-postman-collection branch September 17, 2026 12: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.

Replace stale README API docs with published Postman collection

1 participant