Skip to content

refactor: use repository pattern in handlers #29

refactor: use repository pattern in handlers

refactor: use repository pattern in handlers #29

Triggered via push August 27, 2024 12:50
Status Success
Total duration 5m 16s
Artifacts

azure-deploy.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
publish
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
publish
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
publish: src/Features/Tags/UpdateTag.cs#L30
Possible null reference argument for parameter 'tag' in 'Task<Tag> TagRepository.UpdateTag(Tag tag, Tag parentTag)'.
publish: src/Features/Tags/UpdateTag.cs#L30
Possible null reference argument for parameter 'parentTag' in 'Task<Tag> TagRepository.UpdateTag(Tag tag, Tag parentTag)'.
publish: src/Features/Articles/UpdateArticleTags.cs#L38
Possible null reference argument for parameter 'item' in 'bool List<Article>.Contains(Article item)'.
publish: src/Features/Articles/UpdateArticleTags.cs#L42
Dereference of a possibly null reference.
publish: src/Features/Articles/CreateArticle.cs#L31
Possible null reference argument for parameter 'tags' in 'Task<List<Tag>> TagRepository.GetMatchingTags(List<string> tags)'.
publish: src/Features/Articles/CreateArticle.cs#L23
Argument of type 'IRuleBuilderInitial<CreateArticle.CreateArticleCommand, List<string>?>' cannot be used for parameter 'ruleBuilder' of type 'IRuleBuilder<CreateArticle.CreateArticleCommand, List<string>>' in 'IRuleBuilderOptions<CreateArticleCommand, List<string>> TagValidators.TagsExist<CreateArticleCommand>(IRuleBuilder<CreateArticleCommand, List<string>> ruleBuilder)' due to differences in the nullability of reference types.
publish: src/Features/Articles/GetArticleById.cs#L32
Possible null reference argument for parameter 'article' in 'ArticleResponse ArticleResponse.FromArticle(Article article)'.
publish: src/Features/Articles/UpdateArticle.cs#L35
Possible null reference argument for parameter 'article' in 'Task<Article> ArticleRepository.UpdateArticle(Article article, User user, string content, string? summary = null)'.
publish: src/Features/Articles/UpdateArticle.cs#L35
Possible null reference argument for parameter 'user' in 'Task<Article> ArticleRepository.UpdateArticle(Article article, User user, string content, string? summary = null)'.
publish: src/Features/Articles/Persistence/ArticleRepository.cs#L56
Dereference of a possibly null reference.