Skip to content

Merge branch 'sessionProvider_2_1' of https://github.com/SwissLife-OS… #12

Merge branch 'sessionProvider_2_1' of https://github.com/SwissLife-OS…

Merge branch 'sessionProvider_2_1' of https://github.com/SwissLife-OS… #12

Triggered via push October 2, 2023 20:55
Status Failure
Total duration 3m 16s
Artifacts

release.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 20 warnings
release
Process completed with exit code 1.
sonar
Process completed with exit code 3.
release: src/Context/MongoOptions.cs#L12
Non-nullable property 'ConnectionString' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
release: src/Context/MongoOptions.cs#L13
Non-nullable property 'DatabaseName' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
release: src/Context/ImmutableConvention.cs#L131
Converting null literal or possible null value to non-nullable type.
release: src/Context/ImmutableConvention.cs#L133
Dereference of a possibly null reference.
release: src/Context/MongoOptions.cs#L12
Non-nullable property 'ConnectionString' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
release: src/Context/MongoOptions.cs#L13
Non-nullable property 'DatabaseName' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
release: src/Context/Internal/MongoDatabaseBuilder.cs#L211
Converting null literal or possible null value to non-nullable type.
release: src/Context/Internal/MongoDatabaseBuilder.cs#L233
Converting null literal or possible null value to non-nullable type.
release: src/Prime.Extensions/MongoCollectionExtensions.cs#L122
'FindOptionsBase.Modifiers' is obsolete: 'Use individual properties instead.'
release: src/Prime.Extensions/MongoCollectionExtensions.cs#L133
'FindOptionsBase.Modifiers' is obsolete: 'Use individual properties instead.'
sonar: src/Transactions/MongoTransactionDatabase.cs#L224
All 'DropCollection' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
sonar: src/Transactions/MongoTransactionDatabase.cs#L247
All 'DropCollectionAsync' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
sonar: src/Transactions/MongoTransactionCollection.cs#L684
Rename parameter 'cancellationToken' to '_cancellationToken' to match the interface declaration. (https://rules.sonarsource.com/csharp/RSPEC-927)
sonar: src/Transactions/MongoTransactionDatabase.cs#L224
All 'DropCollection' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
sonar: src/Transactions/MongoTransactionDatabase.cs#L247
All 'DropCollectionAsync' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
sonar: src/Transactions/MongoTransactionCollection.cs#L684
Rename parameter 'cancellationToken' to '_cancellationToken' to match the interface declaration. (https://rules.sonarsource.com/csharp/RSPEC-927)
sonar: src/Context/MongoOptions.cs#L12
Non-nullable property 'ConnectionString' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
sonar: src/Context/MongoOptions.cs#L13
Non-nullable property 'DatabaseName' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
sonar: src/Context/Internal/MongoDatabaseBuilder.cs#L48
Update this method so that its implementation is not identical to 'ConfigureConnection'. (https://rules.sonarsource.com/csharp/RSPEC-4144)
sonar: src/Context/MongoOptions.cs#L5
'TMongoDBContext' is not used in the class. (https://rules.sonarsource.com/csharp/RSPEC-2326)