Repository navigation
OBJ-84 — Comment threads model + API - #30
Merged
Merged
Conversation
Adds two new tables (comments, comment_replies) with EF Core entities,
a migration (AddCommentTables), ICommentService + CommentService implementation,
and four minimal-API endpoints: POST /documents/{id}/comments, GET /documents/{id}/comments,
POST /comments/{commentId}/replies, PATCH /comments/{commentId}.
Tenant-scoped via OBJ-71 global query filter. Full lifecycle integration tests included.
OBJ-84 M5.4 — Comment threads model + API
Milestone: M5 · Wave: 2 SummaryAdd Acceptance
Validation
Branch / PRBranch from |
objectgyan
added a commit
that referenced
this pull request
May 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
commentsandcomment_repliestables with EF Core entities, migrationAddCommentTables, and tenant-scoped query filters (OBJ-71)ICommentService/CommentServicewith create comment, list comments (with embedded replies), create reply, and patch comment (isResolved toggle)POST /api/documents/{id}/comments,GET /api/documents/{id}/comments?fieldId=&isResolved=,POST /api/comments/{commentId}/replies,PATCH /api/comments/{commentId}Test plan
CommentApiTestscovering full lifecycle)scripts/validate-obj-84.ps1exits 0 — live API lifecycle + DB row assertionsvalidation/obj-84-db.txtandvalidation/obj-84-api.txtproduced