Format all files #513
Annotations
11 warnings
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build:
src/Timelines/DateOnlyTimeline.cs#L194
Nullability of reference types in value of type 'ImmutableList<DateOnlyTimeline?>' doesn't match target type 'ImmutableList<DateOnlyTimeline>'.
|
build:
src/Timelines/DateOnlyTimeline.cs#L198
Argument of type 'ImmutableList<DateOnlyTimeline>' cannot be used for parameter 'timelines' of type 'ImmutableList<DateOnlyTimeline?>' in 'DateOnlyTimeline? DateOnlyTimeline.UnionOf(ImmutableList<DateOnlyTimeline?> timelines)' due to differences in the nullability of reference types.
|
build:
src/Timelines/Timeline.cs#L89
Modify 'TryMapFrom' to catch a more specific allowed exception type, or rethrow the exception (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1031)
|
build:
src/CareTogether.Core/Engines/PolicyEvaluation/IPolicyEvaluationEngine.cs#L93
Nullability of reference types in value of type 'ImmutableList<(string Key, string version)>' doesn't match target type 'ImmutableList<(string ActionName, string? Version)>'.
|
build:
src/CareTogether.Core/Managers/CombinedFamilyInfoFormatter.cs#L102
Converting null literal or possible null value to non-nullable type.
|
build:
src/CareTogether.Core/Resources/Notes/NotesModel.cs#L142
Converting null literal or possible null value to non-nullable type.
|
build:
src/CareTogether.Core/Engines/PolicyEvaluation/IPolicyEvaluationEngine.cs#L225
Nullability of reference types in value of type 'ImmutableList<(Guid PersonId, string Key, string version)>' doesn't match target type 'ImmutableList<(Guid PersonId, string ActionName, string? Version)>'.
|
build:
test/CareTogether.Core.Test/AssertEx.cs#L95
Possible null reference argument for parameter 'first' in 'IEnumerable<(DateRange First, DateRange Second)> Enumerable.Zip<DateRange, DateRange>(IEnumerable<DateRange> first, IEnumerable<DateRange> second)'.
|
build:
test/CareTogether.Core.Test/AssertEx.cs#L95
Possible null reference argument for parameter 'second' in 'IEnumerable<(DateRange First, DateRange Second)> Enumerable.Zip<DateRange, DateRange>(IEnumerable<DateRange> first, IEnumerable<DateRange> second)'.
|
build:
src/CareTogether.Api/Startup.cs#L159
Argument of type 'JsonBlobObjectStore<string>' cannot be used for parameter 'draftNotesStore' of type 'IObjectStore<string?>' in 'Task TestDataProvider.PopulateTestDataAsync(IEventLog<AccountEvent> accountsEventLog, IEventLog<PersonAccessEvent> personAccessEventLog, IEventLog<DirectoryEvent> directoryEventLog, IEventLog<GoalCommandExecutedEvent> goalsEventLog, IEventLog<ReferralEvent> referralsEventLog, IEventLog<ApprovalEvent> approvalsEventLog, IEventLog<NotesEvent> notesEventLog, IEventLog<CommunityCommandExecutedEvent> communitiesEventLog, IObjectStore<string?> draftNotesStore, IObjectStore<OrganizationConfiguration> configurationStore, IObjectStore<EffectiveLocationPolicy> policiesStore, IObjectStore<OrganizationSecrets> organizationSecretsStore, string? testSourceSmsPhoneNumber)' due to differences in the nullability of reference types.
|