feat: elaborate TODOs #768
Annotations
12 warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-dotnet@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Build OpenActive.Server.NET.Tests and dependencies
The 'PackageIconUrl'/'iconUrl' element is deprecated. Consider using the 'PackageIcon'/'icon' element instead. Learn more at https://aka.ms/deprecateIconUrl
|
Build OpenActive.Server.NET.Tests and dependencies:
OpenActive.Server.NET/CustomBookingEngine/CustomBookingEngine.cs#L153
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 OpenActive.Server.NET.Tests and dependencies:
OpenActive.Server.NET/StoreBookingEngine/StoreBookingEngine.cs#L266
Add the following constructor to SilentRollbackException: public SilentRollbackException(string message).
|
Build OpenActive.Server.NET.Tests and dependencies:
OpenActive.Server.NET/StoreBookingEngine/StoreBookingEngine.cs#L266
Add the following constructor to SilentRollbackException: public SilentRollbackException(string message, Exception innerException).
|
Build OpenActive.Server.NET.Tests and dependencies:
OpenActive.Server.NET/OpenBookingHelper/Stores/IdempotencyStore.cs#L23
In externally visible method 'string IdempotencyStore.CalculateIdempotencyKey(OrderIdComponents orderId, string orderJson)', validate parameter 'orderId' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument.
|
Build OpenActive.Server.NET.Tests and dependencies:
OpenActive.Server.NET/OpenBookingHelper/Stores/IdempotencyStore.cs#L22
Member CalculateIdempotencyKey does not access instance data and can be marked as static (Shared in VisualBasic)
|
Build OpenActive.Server.NET.Tests and dependencies:
OpenActive.Server.NET/OpenBookingHelper/Async/AsyncDuplicateLock.cs#L36
Call System.IDisposable.Dispose on object created by 'new SemaphoreSlim(1, 1)' before all references to it are out of scope.
|
Build OpenActive.Server.NET.Tests and dependencies:
OpenActive.Server.NET/StoreBookingEngine/StoreBookingEngine.cs#L365
Consider calling ConfigureAwait on the awaited task
|
Loading