Fix CI failures from PR #2511 #2515
+35
−36
Merged
Annotations
10 warnings
|
Run EF Core Tests
/home/runner/work/wolverine/wolverine/src/Persistence/Wolverine.Marten/Requirements/IMartenDataRequirement.cs(65,42): warning CS8604: Possible null reference argument for parameter 'id' in 'Task<bool> IBatchedQuery.CheckExists<TDoc>(object id)'. [/home/runner/work/wolverine/wolverine/src/Persistence/Wolverine.Marten/Wolverine.Marten.csproj::TargetFramework=net9.0]
|
|
Run EF Core Tests
/home/runner/work/wolverine/wolverine/src/Persistence/Wolverine.Marten/Requirements/IMartenDataRequirement.cs(40,59): warning CS8604: Possible null reference argument for parameter 'id' in 'Task<bool> IQuerySession.CheckExistsAsync<TDoc>(object id, CancellationToken token = default(CancellationToken))'. [/home/runner/work/wolverine/wolverine/src/Persistence/Wolverine.Marten/Wolverine.Marten.csproj::TargetFramework=net9.0]
|
|
Run EF Core Tests
/home/runner/work/wolverine/wolverine/src/Persistence/Wolverine.Marten/Requirements/IMartenDataRequirement.cs(118,42): warning CS8604: Possible null reference argument for parameter 'id' in 'Task<bool> IBatchedQuery.CheckExists<TDoc>(object id)'. [/home/runner/work/wolverine/wolverine/src/Persistence/Wolverine.Marten/Wolverine.Marten.csproj::TargetFramework=net9.0]
|
|
Run EF Core Tests
/home/runner/work/wolverine/wolverine/src/Persistence/Wolverine.Marten/Requirements/IMartenDataRequirement.cs(93,59): warning CS8604: Possible null reference argument for parameter 'id' in 'Task<bool> IQuerySession.CheckExistsAsync<TDoc>(object id, CancellationToken token = default(CancellationToken))'. [/home/runner/work/wolverine/wolverine/src/Persistence/Wolverine.Marten/Wolverine.Marten.csproj::TargetFramework=net9.0]
|
|
Run EF Core Tests
/home/runner/work/wolverine/wolverine/src/Persistence/EfCoreTests/DomainEvents/configuration_of_domain_events_scrapers.cs(47,23): warning xUnit1013: Public method 'startHostAsync' on test class 'configuration_of_domain_events_scrapers' should be marked as a Theory. Reduce the visibility of the method, or add a Theory attribute to the method. (https://xunit.net/xunit.analyzers/rules/xUnit1013) [/home/runner/work/wolverine/wolverine/src/Persistence/EfCoreTests/EfCoreTests.csproj::TargetFramework=net9.0]
|
|
Run EF Core Tests
/home/runner/work/wolverine/wolverine/src/Wolverine/Runtime/Agents/IAgent.cs(34,27): warning CS1066: The default value specified for parameter 'cancellationToken' will have no effect because it applies to a member that is used in contexts that do not allow optional arguments [/home/runner/work/wolverine/wolverine/src/Wolverine/Wolverine.csproj::TargetFramework=net9.0]
|
|
Run EF Core Tests
/home/runner/work/wolverine/wolverine/src/Wolverine/Middleware/TryCatchFinallyFrame.cs(177,17): warning CS8767: Nullability of reference types in type of parameter 'variable' of 'bool CatchBlockMethodVariables.TryFindVariableByName(Type dependency, string name, out Variable? variable)' doesn't match implicitly implemented member 'bool IMethodVariables.TryFindVariableByName(Type dependency, string name, out Variable? variable)' (possibly because of nullability attributes). [/home/runner/work/wolverine/wolverine/src/Wolverine/Wolverine.csproj::TargetFramework=net9.0]
|
|
Run EF Core Tests
/home/runner/work/wolverine/wolverine/src/Persistence/EfCoreTests/DomainEvents/configuration_of_domain_events_scrapers.cs(47,23): warning xUnit1013: Public method 'startHostAsync' on test class 'configuration_of_domain_events_scrapers' should be marked as a Theory. Reduce the visibility of the method, or add a Theory attribute to the method. (https://xunit.net/xunit.analyzers/rules/xUnit1013) [/home/runner/work/wolverine/wolverine/src/Persistence/EfCoreTests/EfCoreTests.csproj::TargetFramework=net9.0]
|
|
Run EF Core Tests
/home/runner/work/wolverine/wolverine/src/Wolverine/Runtime/Agents/IAgent.cs(34,27): warning CS1066: The default value specified for parameter 'cancellationToken' will have no effect because it applies to a member that is used in contexts that do not allow optional arguments [/home/runner/work/wolverine/wolverine/src/Wolverine/Wolverine.csproj::TargetFramework=net9.0]
|
|
Run EF Core Tests
/home/runner/work/wolverine/wolverine/src/Wolverine/Middleware/TryCatchFinallyFrame.cs(177,17): warning CS8767: Nullability of reference types in type of parameter 'variable' of 'bool CatchBlockMethodVariables.TryFindVariableByName(Type dependency, string name, out Variable? variable)' doesn't match implicitly implemented member 'bool IMethodVariables.TryFindVariableByName(Type dependency, string name, out Variable? variable)' (possibly because of nullability attributes). [/home/runner/work/wolverine/wolverine/src/Wolverine/Wolverine.csproj::TargetFramework=net9.0]
|
Loading