Skip to content

Add mongo session provider support #12

Add mongo session provider support

Add mongo session provider support #12

Triggered via pull request October 2, 2023 12:44
Status Failure
Total duration 1m 10s
Artifacts

pull-request.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
tests: src/Session/Internal/MongoSession.cs#L8
The type or namespace name 'ISession' could not be found (are you missing a using directive or an assembly reference?)
tests: src/Session/Internal/MongoSessionProvider.cs#L9
The type or namespace name 'ISessionProvider<>' could not be found (are you missing a using directive or an assembly reference?)
tests: src/Session/Internal/MongoTransactionSession.cs#L8
The type or namespace name 'ITransactionSession' could not be found (are you missing a using directive or an assembly reference?)
tests: src/Session/TransactionSessionExtensions.cs#L9
The type or namespace name 'ITransactionSession' could not be found (are you missing a using directive or an assembly reference?)
tests: src/Session/TransactionSessionExtensions.cs#L21
The type or namespace name 'ISession' could not be found (are you missing a using directive or an assembly reference?)
tests: src/Session/Internal/MongoSession.cs#L26
The type or namespace name 'ISession' could not be found (are you missing a using directive or an assembly reference?)
tests: src/Session/Internal/MongoSessionProvider.cs#L19
The type or namespace name 'ITransactionSession' could not be found (are you missing a using directive or an assembly reference?)
tests: src/Session/Internal/MongoSessionProvider.cs#L25
The type or namespace name 'ITransactionSession' could not be found (are you missing a using directive or an assembly reference?)
tests: src/Session/Internal/MongoSessionProvider.cs#L43
The type or namespace name 'ISession' could not be found (are you missing a using directive or an assembly reference?)
tests: src/Session/Internal/MongoSession.cs#L8
The type or namespace name 'ISession' could not be found (are you missing a using directive or an assembly reference?)
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/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/Extensions/TypeExtensions.cs#L22
Possible null reference return.
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#L9
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)