Include more details in InitializeCorrespondence response #1191
Annotations
10 warnings
Build:
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.
|
Build:
src/Altinn.Correspondence.Core/Services/Mappers/DialogportenText.cs#L31
The switch expression does not handle some values of its input type (it is not exhaustive) involving an unnamed enum value. For example, the pattern '(Altinn.Correspondence.Core.Dialogporten.Mappers.DialogportenTextType)7' is not covered.
|
Build:
src/Altinn.Correspondence.Core/Services/Mappers/DialogportenText.cs#L41
The switch expression does not handle some values of its input type (it is not exhaustive) involving an unnamed enum value. For example, the pattern '(Altinn.Correspondence.Core.Dialogporten.Mappers.DialogportenTextType)7' is not covered.
|
Build:
src/Altinn.Correspondence.Core/Services/Mappers/DialogportenText.cs#L51
The switch expression does not handle some values of its input type (it is not exhaustive) involving an unnamed enum value. For example, the pattern '(Altinn.Correspondence.Core.Dialogporten.Mappers.DialogportenTextType)7' is not covered.
|
Build:
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)'.
|
Build:
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.
|
Build:
src/Altinn.Correspondence.Persistence/Repositories/AttachmentRepository.cs#L70
Dereference of a possibly null reference.
|
Build:
src/Altinn.Correspondence.Persistence/Repositories/NotificationTemplateRepository.cs#L14
Dereference of a possibly null reference.
|
Build:
src/Altinn.Correspondence.Persistence/Repositories/CorrespondenceRepository.cs#L65
Dereference of a possibly null reference.
|
Build:
src/Altinn.Correspondence.Persistence/Repositories/CorrespondenceRepository.cs#L65
Dereference of a possibly null reference.
|
Loading