Skip to content

Remove unnecessary CreatedAt date assertions from comment, like, and … #18

Remove unnecessary CreatedAt date assertions from comment, like, and …

Remove unnecessary CreatedAt date assertions from comment, like, and … #18

Triggered via push December 31, 2024 15:43
Status Failure
Total duration 50s
Artifacts

auth.yml

on: push
build-and-test
31s
build-and-test
Fit to window
Zoom out
Zoom in

Annotations

1 error and 11 warnings
docker
Process completed with exit code 1.
build-and-test: backend/src/PostService/PostService.Application/Commands/AddLike/AddLikeCommandHandler.cs#L37
Possible null reference argument for parameter 'userId' in 'Like.Like(Guid postId, string userId)'.
build-and-test: backend/src/PostService/PostService.Application/Commands/AddComment/AddCommentCommandHandler.cs#L50
Possible null reference argument for parameter 'userId' in 'Comment.Comment(Guid postId, string userId, string username, string content)'.
build-and-test: backend/src/PostService/PostService.Application/Commands/AddPost/AddPostCommandHandler.cs#L67
Possible null reference argument for parameter 'userId' in 'Post Post.CreateTextPost(string userId, string title, string description)'.
build-and-test: backend/src/PostService/PostService.Application/Commands/AddPost/AddPostCommandHandler.cs#L69
Possible null reference argument for parameter 'userId' in 'Post Post.CreateImagePost(string userId, string contentUrl, string title = "", string description = "")'.
build-and-test: backend/src/PostService/PostService.Application/Commands/AddPost/AddPostCommandHandler.cs#L71
Possible null reference argument for parameter 'userId' in 'Post Post.CreateVideoPost(string userId, string contentUrl, string title = "", string description = "")'.
build-and-test: backend/src/PostService/PostService.Application/Commands/AddLike/AddLikeCommandHandler.cs#L37
Possible null reference argument for parameter 'userId' in 'Like.Like(Guid postId, string userId)'.
build-and-test: backend/src/PostService/PostService.Application/Commands/AddComment/AddCommentCommandHandler.cs#L50
Possible null reference argument for parameter 'userId' in 'Comment.Comment(Guid postId, string userId, string username, string content)'.
build-and-test: backend/src/PostService/PostService.Application/Commands/AddPost/AddPostCommandHandler.cs#L67
Possible null reference argument for parameter 'userId' in 'Post Post.CreateTextPost(string userId, string title, string description)'.
build-and-test: backend/src/PostService/PostService.Application/Commands/AddPost/AddPostCommandHandler.cs#L69
Possible null reference argument for parameter 'userId' in 'Post Post.CreateImagePost(string userId, string contentUrl, string title = "", string description = "")'.
build-and-test: backend/src/PostService/PostService.Application/Commands/AddPost/AddPostCommandHandler.cs#L71
Possible null reference argument for parameter 'userId' in 'Post Post.CreateVideoPost(string userId, string contentUrl, string title = "", string description = "")'.
docker
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636