fix: Handle IContentComponent serialisation + Redis errors better #3512
Annotations
10 warnings
Build web app
The "--output" option isn't supported when building a solution. Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds.
|
Build web app:
tests/Dfe.PlanTech.Application.UnitTests/Questionnaire/Queries/GetSectionQueryTests.cs#L59
Argument of type 'Task<IEnumerable<Section>?>' cannot be used for parameter 'value' of type 'Task<IEnumerable<Section>>' in 'ConfiguredCall SubstituteExtensions.Returns<Task<IEnumerable<Section>>>(Task<IEnumerable<Section>> value, Func<CallInfo, Task<IEnumerable<Section>>> returnThis, params Func<CallInfo, Task<IEnumerable<Section>>>[] returnThese)' due to differences in the nullability of reference types.
|
Build web app:
tests/Dfe.PlanTech.Application.UnitTests/Content/Queries/GetSubTopicRecommendationQueryTests.cs#L139
Argument of type 'Task<IEnumerable<SubtopicRecommendation>?>' cannot be used for parameter 'value' of type 'Task<IEnumerable<SubtopicRecommendation>>' in 'ConfiguredCall SubstituteExtensions.Returns<Task<IEnumerable<SubtopicRecommendation>>>(Task<IEnumerable<SubtopicRecommendation>> value, Func<CallInfo, Task<IEnumerable<SubtopicRecommendation>>> returnThis, params Func<CallInfo, Task<IEnumerable<SubtopicRecommendation>>>[] returnThese)' due to differences in the nullability of reference types.
|
Build web app:
tests/Dfe.PlanTech.Application.UnitTests/Content/Queries/GetEntityFromContentfulQueryTests.cs#L24
Argument of type 'Task<Question?>' cannot be used for parameter 'value' of type 'Task<Question>' in 'ConfiguredCall SubstituteExtensions.Returns<Task<Question>>(Task<Question> value, Func<CallInfo, Task<Question>> returnThis, params Func<CallInfo, Task<Question>>[] returnThese)' due to differences in the nullability of reference types.
|
Build web app:
tests/Dfe.PlanTech.Application.UnitTests/Content/Queries/GetPageQueryTests.cs#L54
Argument of type 'Task<IEnumerable<Page>?>' cannot be used for parameter 'value' of type 'Task<IEnumerable<Page>>' in 'ConfiguredCall SubstituteExtensions.Returns<Task<IEnumerable<Page>>>(Task<IEnumerable<Page>> value, Func<CallInfo, Task<IEnumerable<Page>>> returnThis, params Func<CallInfo, Task<IEnumerable<Page>>>[] returnThese)' due to differences in the nullability of reference types.
|
Build web app:
tests/Dfe.PlanTech.Application.UnitTests/Content/Queries/GetNavigationQueryTests.cs#L29
Argument of type 'Task<IEnumerable<NavigationLink>?>' cannot be used for parameter 'value' of type 'Task<IEnumerable<NavigationLink>>' in 'ConfiguredCall SubstituteExtensions.Returns<Task<IEnumerable<NavigationLink>>>(Task<IEnumerable<NavigationLink>> value, Func<CallInfo, Task<IEnumerable<NavigationLink>>> returnThis, params Func<CallInfo, Task<IEnumerable<NavigationLink>>>[] returnThese)' due to differences in the nullability of reference types.
|
Build web app:
src/Dfe.PlanTech.Web/Controllers/PagesController.cs#L47
Possible null reference argument for parameter 'contentId' in 'Task<NavigationLink?> IGetEntityFromContentfulQuery.GetEntityById<NavigationLink>(string contentId, CancellationToken cancellationToken = default(CancellationToken))'.
|
Build web app:
src/Dfe.PlanTech.Web/Controllers/PagesController.cs#L61
Possible null reference argument for parameter 'contentId' in 'Task<NavigationLink?> IGetEntityFromContentfulQuery.GetEntityById<NavigationLink>(string contentId, CancellationToken cancellationToken = default(CancellationToken))'.
|
Build web app
The "--output" option isn't supported when building a solution. Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds.
|
Build web app:
tests/Dfe.PlanTech.Application.UnitTests/Questionnaire/Queries/GetSectionQueryTests.cs#L59
Argument of type 'Task<IEnumerable<Section>?>' cannot be used for parameter 'value' of type 'Task<IEnumerable<Section>>' in 'ConfiguredCall SubstituteExtensions.Returns<Task<IEnumerable<Section>>>(Task<IEnumerable<Section>> value, Func<CallInfo, Task<IEnumerable<Section>>> returnThis, params Func<CallInfo, Task<IEnumerable<Section>>>[] returnThese)' due to differences in the nullability of reference types.
|
Loading