Fix portfolio endpoint error #12
Annotations
10 warnings
api/Data/AppDbContext.cs#L14
'AppDbContext.Users' hides inherited member 'IdentityUserContext<AppUser, string, IdentityUserClaim<string>, IdentityUserLogin<string>, IdentityUserToken<string>>.Users'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
|
api/Controllers/AccountController.cs#L43
Possible null reference argument for parameter 'password' in 'Task<IdentityResult> UserManager<AppUser>.CreateAsync(AppUser user, string password)'.
|
api/Controllers/AccountController.cs#L54
Possible null reference assignment.
|
api/Controllers/AccountController.cs#L55
Possible null reference assignment.
|
api/Controllers/AccountController.cs#L104
Possible null reference assignment.
|
api/Controllers/AccountController.cs#L105
Possible null reference assignment.
|
api/DTOs/Account/LoginDto.cs#L8
Non-nullable property 'UserName' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
api/DTOs/Account/LoginDto.cs#L10
Non-nullable property 'Password' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
api/Models/Portfolio.cs#L8
Non-nullable property 'AppUserId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
api/Models/Portfolio.cs#L10
Non-nullable property 'AppUser' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
This job succeeded
Loading