feat: ready for NuGet release [release] #1
Annotations
10 errors and 10 warnings
|
Build:
src/SmartRAG.API/Controllers/DocumentsController.cs#L16
The type or namespace name 'IDocumentService' could not be found (are you missing a using directive or an assembly reference?)
|
|
Build:
src/SmartRAG.API/Controllers/StorageController.cs#L96
The type or namespace name 'StorageProvider' could not be found (are you missing a using directive or an assembly reference?)
|
|
Build:
src/SmartRAG.API/Controllers/StorageController.cs#L12
The type or namespace name 'IDocumentService' could not be found (are you missing a using directive or an assembly reference?)
|
|
Build:
src/SmartRAG.API/Controllers/StorageController.cs#L12
The type or namespace name 'IStorageFactory' could not be found (are you missing a using directive or an assembly reference?)
|
|
Build:
src/SmartRAG.API/Program.cs#L3
The type or namespace name 'Extensions' does not exist in the namespace 'SmartRAG' (are you missing an assembly reference?)
|
|
Build:
src/SmartRAG.API/Program.cs#L2
The type or namespace name 'Enums' does not exist in the namespace 'SmartRAG' (are you missing an assembly reference?)
|
|
Build:
src/SmartRAG.API/Controllers/StorageController.cs#L3
The type or namespace name 'Interfaces' does not exist in the namespace 'SmartRAG' (are you missing an assembly reference?)
|
|
Build:
src/SmartRAG.API/Controllers/StorageController.cs#L2
The type or namespace name 'Enums' does not exist in the namespace 'SmartRAG' (are you missing an assembly reference?)
|
|
Build:
src/SmartRAG.API/Controllers/SearchController.cs#L2
The type or namespace name 'Interfaces' does not exist in the namespace 'SmartRAG' (are you missing an assembly reference?)
|
|
Build:
src/SmartRAG.API/Controllers/DocumentsController.cs#L5
The type or namespace name 'Interfaces' does not exist in the namespace 'SmartRAG' (are you missing an assembly reference?)
|
|
Build:
src/SmartRAG/Services/DocumentService.cs#L119
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
|
Build:
src/SmartRAG/Repositories/FileSystemDocumentRepository.cs#L129
Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1869)
|
|
Build:
src/SmartRAG/Repositories/FileSystemDocumentRepository.cs#L145
Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1869)
|
|
Build:
src/SmartRAG/Repositories/FileSystemDocumentRepository.cs#L53
Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1869)
|
|
Build:
src/SmartRAG/Services/DocumentService.cs#L37
The behavior of 'string.StartsWith(string)' could vary based on the current user's locale settings. Replace this call in 'SmartRAG.Services.DocumentService.UploadDocumentAsync(System.IO.Stream, string, string, string)' with a call to 'string.StartsWith(string, System.StringComparison)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)
|
|
Build:
src/SmartRAG/Models/SmartRagOptions.cs#L53
Member 'EnableFallbackProviders' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
|
Build:
src/SmartRAG/Models/RedisConfig.cs#L14
Member 'Database' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
|
Build:
src/SmartRAG/Models/RedisConfig.cs#L20
Member 'EnableSsl' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
|
Build:
src/SmartRAG/Models/QdrantConfig.cs#L6
Member 'UseHttps' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
|
Build:
src/SmartRAG/Services/DocumentService.cs#L712
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
Loading