warningов? как от них избавиться?
                  
                  
                  
                  
                  
                  FqTimes.WebApi
                  
                  
                    UpdatePostDto.cs(11, 30): [CS8618] Non-nullable property 'Text' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
                  
                  
                    CreateAuthorDto.cs(11, 30): [CS8618] Non-nullable property 'Password' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
                  
                  
                    CreateAuthorDto.cs(12, 30): [CS8618] Non-nullable property 'Role' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
                  
                  
                  
                  
                  
                  например в таком коде:
                  
                  
                  [Required] public Guid Id { get; set; }
                  
                  
                      [Required] public string Text { get; set; }
                  
                  
                      [Required] public string Title { get; set; }
                  
                  
                      [Required] public string Description { get; set; }
                  
                  
                      [Required] public string Author { get; set; }
                  
                  
                
Еба ты высрал
Обсуждают сегодня