Skip to content

Add possibility to start transaction from session #23

Add possibility to start transaction from session

Add possibility to start transaction from session #23

Triggered via pull request January 29, 2024 09:33
Status Failure
Total duration 1m 15s
Artifacts

pull-request.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
tests: src/Session.Tests/MongoSessionProviderTests.cs#L72
The name '_mongoOptions' does not exist in the current context
tests: src/Session.Tests/MongoSessionProviderTests.cs#L73
The type or namespace name 'ITestSessionProvider' could not be found (are you missing a using directive or an assembly reference?)
tests: src/Session.Tests/MongoSessionProviderTests.cs#L73
The type or namespace name 'TestSessionProvider' could not be found (are you missing a using directive or an assembly reference?)
tests: src/Session.Tests/MongoSessionProviderTests.cs#L72
The name '_mongoOptions' does not exist in the current context
tests: src/Session.Tests/MongoSessionProviderTests.cs#L73
The type or namespace name 'ITestSessionProvider' could not be found (are you missing a using directive or an assembly reference?)
tests: src/Session.Tests/MongoSessionProviderTests.cs#L73
The type or namespace name 'TestSessionProvider' could not be found (are you missing a using directive or an assembly reference?)
tests: src/Session.Tests/MongoSessionProviderTests.cs#L72
The name '_mongoOptions' does not exist in the current context
tests: src/Session.Tests/MongoSessionProviderTests.cs#L73
The type or namespace name 'ITestSessionProvider' could not be found (are you missing a using directive or an assembly reference?)
tests: src/Session.Tests/MongoSessionProviderTests.cs#L73
The type or namespace name 'TestSessionProvider' could not be found (are you missing a using directive or an assembly reference?)
tests: src/Session.Tests/MongoSessionProviderTests.cs#L72
The name '_mongoOptions' does not exist in the current context
tests: src/Transactions/MongoTransactionDatabase.cs#L224
All 'DropCollection' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
tests: src/Transactions/MongoTransactionDatabase.cs#L247
All 'DropCollectionAsync' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
tests: src/Transactions/MongoTransactionCollection.cs#L685
Rename parameter 'cancellationToken' to '_cancellationToken' to match the interface declaration. (https://rules.sonarsource.com/csharp/RSPEC-927)
tests: src/Context/MongoOptions.cs#L12
Non-nullable property 'ConnectionString' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
tests: src/Context/MongoOptions.cs#L13
Non-nullable property 'DatabaseName' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
tests: src/Context/Internal/DependencyTypesResolver.cs#L19
Possible null reference argument for parameter 'name' in 'bool DependencyTypesResolver.IsNamespaceAllowed(string name, string[] excludeNamespaces)'.
tests: src/Context/ImmutableConvention.cs#L131
Converting null literal or possible null value to non-nullable type.
tests: src/Context/ImmutableConvention.cs#L133
Dereference of a possibly null reference.
tests: src/Context/Internal/MongoDatabaseBuilder.cs#L245
Converting null literal or possible null value to non-nullable type.
tests: src/Context/Internal/MongoDatabaseBuilder.cs#L266
Converting null literal or possible null value to non-nullable type.