+11
-3
cmd/server/main.go
+11
-3
cmd/server/main.go
···+commentService := comments.NewCommentService(commentRepo, userRepo, postRepo, communityRepo, oauthClient, oauthStore, nil)+log.Println("✅ Comment service initialized (with author/community hydration and write support)")···
+35
internal/api/routes/comment.go
+35
internal/api/routes/comment.go
···+func RegisterCommentRoutes(r chi.Router, service commentsCore.Service, authMiddleware *middleware.OAuthAuthMiddleware) {