Problem
Comment handlers have the same ObjectId/Result problems. Note: Comments currently use ObjectId in their query type but string in commands — inconsistency needs resolution.
Depends On
Depends on: Foundation issue (standardize ObjectId in Shared commands/queries)
Files to Modify
- src/Api/Handlers/Comments/GetCommentHandler.cs — return Task<Result>
- src/Api/Handlers/Comments/ListCommentsHandler.cs — return Task<Result<IReadOnlyList>>
- src/Api/Handlers/Comments/CreateCommentHandler.cs — return Task<Result>
- src/Api/Handlers/Comments/UpdateCommentHandler.cs — return Task<Result>
- src/Api/Handlers/Comments/DeleteCommentHandler.cs — return Task<Result>
- src/Api/Handlers/Comments/CommentEndpoints.cs — map Result → HTTP responses
Acceptance Criteria
Problem
Comment handlers have the same ObjectId/Result problems. Note: Comments currently use ObjectId in their query type but string in commands — inconsistency needs resolution.
Depends On
Depends on: Foundation issue (standardize ObjectId in Shared commands/queries)
Files to Modify
Acceptance Criteria