Create dotnet.yml #1
Annotations
1 error and 11 warnings
build
Process completed with exit code 1.
|
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build:
src/URLShortener.Domain/Url.cs#L11
Non-nullable property 'OriginalUrl' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
build:
src/URLShortener.Domain/Url.cs#L11
Non-nullable property 'ShortenedUrl' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
build:
src/URLShortener.Domain/Url.cs#L11
Non-nullable property 'Assert' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
build:
src/URLShortener.Domain/Url.cs#L16
Non-nullable property 'Assert' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
build:
src/URLShortener.ViewModels/UrlDTO.cs#L17
Non-nullable property 'ShortenedUrl' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
build:
src/URLShortener.ViewModels/UrlDTO.cs#L17
Non-nullable property 'OriginalUrl' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
build:
src/URLShortener.Tests/WebAPI/UrlControllerTest.cs#L22
The variable 'originalUrl' is assigned but its value is never used
|
build:
src/URLShortener.Tests/WebAPI/LoggingMiddlewareTest.cs#L30
Argument of type 'Func<It.IsAnyType, Exception, string>' cannot be used for parameter 'formatter' of type 'Func<It.IsAnyType, Exception?, string>' in 'void ILogger.Log<IsAnyType>(LogLevel logLevel, EventId eventId, IsAnyType state, Exception? exception, Func<IsAnyType, Exception?, string> formatter)' due to differences in the nullability of reference types.
|
build:
src/URLShortener.Domain/Url.cs#L11
Non-nullable property 'OriginalUrl' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
build:
src/URLShortener.Domain/Url.cs#L11
Non-nullable property 'ShortenedUrl' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|