Skip to content

Revert custom namespace for abstractions #4

Revert custom namespace for abstractions

Revert custom namespace for abstractions #4

Triggered via push October 2, 2023 12:56
Status Failure
Total duration 4m 30s
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 1.
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#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/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/Extensions/TypeExtensions.cs#L22
Possible null reference return.
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/DependencyTypesResolver.cs#L19
Possible null reference argument for parameter 'name' in 'bool DependencyTypesResolver.IsNamespaceAllowed(string name)'.
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.
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#L685
Rename parameter 'cancellationToken' to '_cancellationToken' to match the interface declaration. (https://rules.sonarsource.com/csharp/RSPEC-927)
sonar: src/Prime.Extensions/MongoCollectionExtensions.cs#L122
'FindOptionsBase.Modifiers' is obsolete: 'Use individual properties instead.'
sonar: src/Prime.Extensions/MongoCollectionExtensions.cs#L133
'FindOptionsBase.Modifiers' is obsolete: 'Use individual properties instead.'
sonar: src/Prime.Extensions/MongoCollectionFindExtensions.cs#L100
The type 'TId' cannot be used as type parameter 'TKey' in the generic type or method 'ConcurrentDictionary<TKey, TValue>'. Nullability of type argument 'TId' doesn't match 'notnull' constraint.
sonar: src/Prime.Extensions/MongoCollectionFindExtensions.cs#L146
The type 'TId' cannot be used as type parameter 'TKey' in the generic type or method 'AsyncCursorSourceExtensions.ToDictionaryAsync<TDocument, TKey>(IAsyncCursorSource<TDocument>, Func<TDocument, TKey>, CancellationToken)'. Nullability of type argument 'TId' doesn't match 'notnull' constraint.
sonar: src/Prime.Extensions/MongoCollectionFindExtensions.cs#L89
Method has 8 parameters, which is greater than the 7 authorized. (https://rules.sonarsource.com/csharp/RSPEC-107)
sonar: src/Context/Extensions/TypeExtensions.cs#L22
Possible null reference return.
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.