Add declarative Marten data requirements for handler middleware #2296
Annotations
10 warnings
|
Test
/home/runner/work/wolverine/wolverine/src/Persistence/Wolverine.Polecat/PolecatIntegration.cs(177,16): warning CS8714: The type 'T' cannot be used as type parameter 'T' in the generic type or method 'IEvent<T>'. Nullability of type argument 'T' doesn't match 'notnull' constraint. [/home/runner/work/wolverine/wolverine/src/Persistence/Wolverine.Polecat/Wolverine.Polecat.csproj::TargetFramework=net9.0]
|
|
Test
/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]
|
|
Test
/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]
|
|
Test
/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]
|
|
Test
/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]
|
|
Test
/home/runner/work/wolverine/wolverine/src/Testing/MessageRoutingTests/using_separate_handlers.cs(11,30): warning xUnit1013: Public method 'MultipleHandlerBehaviorUsage' on test class 'using_separate_handlers' should be marked as a Fact. Reduce the visibility of the method, or add a Fact attribute to the method. (https://xunit.net/xunit.analyzers/rules/xUnit1013) [/home/runner/work/wolverine/wolverine/src/Testing/MessageRoutingTests/MessageRoutingTests.csproj::TargetFramework=net9.0]
|
|
Test
/home/runner/work/wolverine/wolverine/src/Testing/MessageRoutingTests/using_additive_local_routing_and_external_conventions.cs(11,30): warning xUnit1013: Public method 'configure_additive_routing' on test class 'using_additive_local_routing_and_external_conventions' should be marked as a Fact. Reduce the visibility of the method, or add a Fact attribute to the method. (https://xunit.net/xunit.analyzers/rules/xUnit1013) [/home/runner/work/wolverine/wolverine/src/Testing/MessageRoutingTests/MessageRoutingTests.csproj::TargetFramework=net9.0]
|
|
Test
/home/runner/work/wolverine/wolverine/src/Transports/Kafka/Wolverine.Kafka/KafkaTransportExtensions.cs(236,25): warning CS8625: Cannot convert null literal to non-nullable reference type. [/home/runner/work/wolverine/wolverine/src/Transports/Kafka/Wolverine.Kafka/Wolverine.Kafka.csproj::TargetFramework=net9.0]
|
|
Test
/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]
|
|
Test
/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