Merge pull request #72 from Adel-Atzouza/Adel #658
Annotations
40 warnings
build:
CargoHub/Models/APIKey.cs#L9
'APIKey.Id' hides inherited member 'BaseModel.Id'. Use the new keyword if hiding was intended.
|
build:
CargoHub/Models/Warehouse.cs#L66
'Warehouse.CreatedAt' hides inherited member 'BaseModel.CreatedAt'. Use the new keyword if hiding was intended.
|
build:
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:
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:
CargoHub/Models/Transfer.cs#L40
Non-nullable property 'ItemId' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
build:
CargoHub/Models/Shipment.cs#L63
Non-nullable property 'Reference' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
build:
CargoHub/Models/Shipment.cs#L64
Non-nullable property 'OrderStatus' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
build:
CargoHub/Models/Shipment.cs#L65
Non-nullable property 'Items' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
build:
CargoHub/Models/Shipment.cs#L41
Non-nullable property 'ShipmentType' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
build:
CargoHub/Models/Shipment.cs#L42
Non-nullable property 'ShipmentStatus' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
unit-tests:
CargoHub/Models/APIKey.cs#L9
'APIKey.Id' hides inherited member 'BaseModel.Id'. Use the new keyword if hiding was intended.
|
unit-tests:
CargoHub/Models/Warehouse.cs#L66
'Warehouse.CreatedAt' hides inherited member 'BaseModel.CreatedAt'. Use the new keyword if hiding was intended.
|
unit-tests:
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.
|
unit-tests:
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.
|
unit-tests:
CargoHub/Models/Transfer.cs#L40
Non-nullable property 'ItemId' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
unit-tests:
CargoHub/Models/APIKey.cs#L12
Non-nullable property 'HashedApiKey' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
unit-tests:
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.
|
unit-tests:
CargoHub/Controllers/TransfersController.cs#L29
Dereference of a possibly null reference.
|
unit-tests:
CargoHub/Controllers/TransfersController.cs#L29
Dereference of a possibly null reference.
|
unit-tests:
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.
|
unit-tests:
UnitTest/ItemGroupServiceTest.cs#L29
Possible null reference argument for parameter 'row' in 'Task<int?> BaseStorageService<ItemGroup>.AddRow(ItemGroup row)'.
|
unit-tests:
UnitTest/ItemTypesServiceTests.cs#L95
Cannot convert null literal to non-nullable reference type.
|
unit-tests:
UnitTest/WarehouseServiceTests.cs#L126
Dereference of a possibly null reference.
|
unit-tests:
UnitTest/Test_APIKey.cs#L74
Converting null literal or possible null value to non-nullable type.
|
unit-tests:
UnitTest/WarehouseServiceTests.cs#L14
Non-nullable field '_context' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
unit-tests:
UnitTest/WarehouseServiceTests.cs#L15
Non-nullable field '_service' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
unit-tests:
UnitTest/ItemLinesServiceTest.cs#L29
Possible null reference argument for parameter 'row' in 'Task<int?> BaseStorageService<ItemLine>.AddRow(ItemLine row)'.
|
unit-tests:
UnitTest/ItemStorageTests.cs#L6
Non-nullable field '_itemStorageService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
unit-tests:
UnitTest/ItemStorageTests.cs#L7
Non-nullable field '_dbContext' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
unit-tests:
UnitTest/ItemTypesServiceTests.cs#L6
Non-nullable field '_baseStorageService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
integration-tests:
CargoHub/Models/APIKey.cs#L9
'APIKey.Id' hides inherited member 'BaseModel.Id'. Use the new keyword if hiding was intended.
|
integration-tests:
CargoHub/Models/Warehouse.cs#L66
'Warehouse.CreatedAt' hides inherited member 'BaseModel.CreatedAt'. Use the new keyword if hiding was intended.
|
integration-tests:
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.
|
integration-tests:
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.
|
integration-tests:
CargoHub/Models/Transfer.cs#L40
Non-nullable property 'ItemId' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
integration-tests:
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.
|
integration-tests:
CargoHub/Models/Shipment.cs#L63
Non-nullable property 'Reference' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
integration-tests:
CargoHub/Models/Shipment.cs#L64
Non-nullable property 'OrderStatus' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
integration-tests:
CargoHub/Models/Shipment.cs#L65
Non-nullable property 'Items' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
integration-tests:
CargoHub/Models/Shipment.cs#L41
Non-nullable property 'ShipmentType' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|