Change ResourceAccessLevel to match authorization policy given #1090
Annotations
10 warnings
src/Altinn.Correspondence.Core/Models/Entities/AttachmentEntity.cs#L19
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
src/Altinn.Correspondence.Persistence/Repositories/AttachmentRepository.cs#L62
Nullability of reference types in return type of 'Task<List<AttachmentEntity?>> AttachmentRepository.GetAttachmentsByCorrespondence(Guid correspondenceId, CancellationToken cancellationToken)' doesn't match implicitly implemented member 'Task<List<AttachmentEntity>> IAttachmentRepository.GetAttachmentsByCorrespondence(Guid correspondenceId, CancellationToken cancellationToken)'.
|
src/Altinn.Correspondence.Persistence/DependencyInjection.cs#L43
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
src/Altinn.Correspondence.Persistence/Repositories/NotificationTemplateRepository.cs#L14
Dereference of a possibly null reference.
|
src/Altinn.Correspondence.Persistence/Repositories/AttachmentRepository.cs#L70
Dereference of a possibly null reference.
|
src/Altinn.Correspondence.Persistence/Repositories/CorrespondenceRepository.cs#L64
Dereference of a possibly null reference.
|
src/Altinn.Correspondence.Persistence/Repositories/CorrespondenceRepository.cs#L64
Dereference of a possibly null reference.
|
src/Altinn.Correspondence.Persistence/Repositories/CorrespondenceRepository.cs#L84
Dereference of a possibly null reference.
|
src/Altinn.Correspondence.Integrations/Slack/SlackDevClient.cs#L10
Cannot convert null literal to non-nullable reference type.
|
src/Altinn.Correspondence.Integrations/Dialogporten/DialogportenService.cs#L10
Parameter '_altinnRegisterService' is unread.
|
This job succeeded
Loading