Merge pull request #72 from Adel-Atzouza/Adel #657
Annotations
11 warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build API:
CargoHub/Models/APIKey.cs#L9
'APIKey.Id' hides inherited member 'BaseModel.Id'. Use the new keyword if hiding was intended.
|
Build API:
CargoHub/Models/Warehouse.cs#L66
'Warehouse.CreatedAt' hides inherited member 'BaseModel.CreatedAt'. Use the new keyword if hiding was intended.
|
Build API:
CargoHub/Controllers/WarehousesController.cs#L10
Parameter 'BaseStorageService<Warehouse> storage' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
|
Build API:
CargoHub/Controllers/WarehousesController.cs#L10
Parameter 'ErrorHandler error' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
|
Build API:
CargoHub/Controllers/TransfersController.cs#L10
Parameter 'ErrorHandler error' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
|
Build API:
CargoHub/Controllers/TransfersController.cs#L29
Dereference of a possibly null reference.
|
Build API:
CargoHub/Controllers/TransfersController.cs#L29
Dereference of a possibly null reference.
|
Build API:
CargoHub/Services/ShipmentService.cs#L22
Argument of type 'IIncludableQueryable<Shipment, List<Order>?>' cannot be used for parameter 'source' of type 'IIncludableQueryable<Shipment, IEnumerable<Order>>' in 'IIncludableQueryable<Shipment, List<OrderItem>?> EntityFrameworkQueryableExtensions.ThenInclude<Shipment, Order, List<OrderItem>?>(IIncludableQueryable<Shipment, IEnumerable<Order>> source, Expression<Func<Order, List<OrderItem>?>> navigationPropertyPath)' due to differences in the nullability of reference types.
|
Build API:
CargoHub/Services/ShipmentService.cs#L22
Argument of type 'IIncludableQueryable<Shipment, List<OrderItem>?>' cannot be used for parameter 'source' of type 'IIncludableQueryable<Shipment, IEnumerable<OrderItem>>' in 'IIncludableQueryable<Shipment, Item?> EntityFrameworkQueryableExtensions.ThenInclude<Shipment, OrderItem, Item?>(IIncludableQueryable<Shipment, IEnumerable<OrderItem>> source, Expression<Func<OrderItem, Item?>> navigationPropertyPath)' due to differences in the nullability of reference types.
|
Build API:
CargoHub/Services/ShipmentService.cs#L32
Possible null reference assignment.
|
Loading