Skip to content

Add mongo session provider support #15

Add mongo session provider support

Add mongo session provider support #15

Triggered via pull request October 2, 2023 15:36
Status Success
Total duration 3m 43s
Artifacts

pull-request.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
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/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/MongoCollectionBuilder.cs#L17
A static field in a generic type is not shared among instances of different close constructed types. (https://rules.sonarsource.com/csharp/RSPEC-2743)
tests: src/Context/Internal/MongoDatabaseBuilder.cs#L49
Update this method so that its implementation is not identical to 'ConfigureConnection'. (https://rules.sonarsource.com/csharp/RSPEC-4144)