Update README.md #275
Annotations
11 warnings
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build:
src/Application/Common/Interfaces/Caching/ICacheable.cs#L9
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
build:
src/Application/Common/Interfaces/Caching/ICacheInvalidator.cs#L9
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
build:
src/Application/Common/Exceptions/CustomException.cs#L6
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
build:
src/Application/Common/Exceptions/CustomException.cs#L10
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
build:
src/Application/Invoices/PaddleOCR/InvoicesOcrJob.cs#L134
The type name 'result' only contains lower-cased ascii characters. Such names may become reserved for the language.
|
build:
src/Application/Common/Behaviours/LoggingBehaviour.cs#L21
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.
|
build:
src/Application/Common/Models/UploadRequest.cs#L14
Member 'Overwrite' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
build:
src/Application/Invoices/PaddleOCR/InvoicesOcrJob.cs#L59
Forward the 'cancellationToken' parameter to the 'PostAsJsonAsync' method or pass in 'CancellationToken.None' explicitly to indicate intentionally not propagating the token (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2016)
|
build:
src/Application/Invoices/PaddleOCR/InvoicesOcrJob.cs#L62
Forward the 'cancellationToken' parameter to the 'ReadAsStringAsync' method or pass in 'CancellationToken.None' explicitly to indicate intentionally not propagating the token (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2016)
|
build:
src/Application/Invoices/Commands/Import/ImportInvoicesCommand.cs#L50
Avoid unnecessary zero-length array allocations. Use Array.Empty<string>() instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1825)
|