Skip to content

Add mongo session provider support (#89) #14

Add mongo session provider support (#89)

Add mongo session provider support (#89) #14

Triggered via push January 19, 2024 11:52
Status Failure
Total duration 2m 20s
Artifacts

release.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 20 warnings
sonar
Process completed with exit code 1.
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.'
release: 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.
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.'
release: 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.
release: 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.
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#L12
Non-nullable property 'ConnectionString' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
sonar: src/Prime.Extensions/MongoCollectionExtensions.cs#L122
'FindOptionsBase.Modifiers' is obsolete: 'Use individual properties instead.'
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/Prime.Extensions/MongoCollectionExtensions.cs#L133
'FindOptionsBase.Modifiers' is obsolete: 'Use individual properties instead.'
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/Transactions/MongoTransactionDatabase.cs#L224
All 'DropCollection' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)