Bump Azure.Data.Tables from 12.10.0 to 12.11.0 in /src #1188
Annotations
10 errors and 10 warnings
code-scanning:
src/lookup-webapi/Controllers/GeoLookupController.cs#L42
Argument 2: cannot convert from 'string' to 'System.Collections.Generic.List<string>'
|
code-scanning:
src/lookup-webapi/Controllers/GeoLookupController.cs#L58
Argument 2: cannot convert from 'string' to 'MX.GeoLocation.LookupApi.Abstractions.Models.GeoLocationDto?'
|
code-scanning:
src/lookup-webapi/Controllers/GeoLookupController.cs#L80
Argument 2: cannot convert from 'string' to 'MX.GeoLocation.LookupApi.Abstractions.Models.GeoLocationDto?'
|
code-scanning:
src/lookup-webapi/Controllers/GeoLookupController.cs#L84
Argument 2: cannot convert from 'string' to 'MX.GeoLocation.LookupApi.Abstractions.Models.GeoLocationDto?'
|
code-scanning:
src/lookup-webapi/Controllers/GeoLookupController.cs#L101
Argument 2: cannot convert from 'string' to 'System.Collections.Generic.List<string>'
|
code-scanning:
src/lookup-webapi/Controllers/GeoLookupController.cs#L105
Argument 2: cannot convert from 'string' to 'System.Collections.Generic.List<string>'
|
code-scanning:
src/lookup-webapi/Controllers/GeoLookupController.cs#L42
Argument 2: cannot convert from 'string' to 'System.Collections.Generic.List<string>'
|
code-scanning:
src/lookup-webapi/Controllers/GeoLookupController.cs#L58
Argument 2: cannot convert from 'string' to 'MX.GeoLocation.LookupApi.Abstractions.Models.GeoLocationDto?'
|
code-scanning:
src/lookup-webapi/Controllers/GeoLookupController.cs#L80
Argument 2: cannot convert from 'string' to 'MX.GeoLocation.LookupApi.Abstractions.Models.GeoLocationDto?'
|
code-scanning:
src/lookup-webapi/Controllers/GeoLookupController.cs#L84
Argument 2: cannot convert from 'string' to 'MX.GeoLocation.LookupApi.Abstractions.Models.GeoLocationDto?'
|
code-scanning:
src/public-webapp.IntegrationTests/Extensions/IWebDriverExtensions.cs#L68
Dereference of a possibly null reference.
|
code-scanning:
src/lookup-webapi/Repositories/MaxMindGeoLocationRepository.cs#L33
Possible null reference argument for parameter 'licenseKey' in 'WebServiceClient.WebServiceClient(int accountId, string licenseKey, IEnumerable<string>? locales = null, string host = "geoip.maxmind.com", int timeout = 3000, bool disableHttps = false, HttpMessageHandler? httpMessageHandler = null)'.
|
code-scanning:
src/lookup-webapi/OpenApiOperationFilters/EnumSchemaFilter.cs#L10
Rename parameter 'model' to 'schema' to match the interface declaration. (https://rules.sonarsource.com/csharp/RSPEC-927)
|
code-scanning:
src/lookup-webapi/Models/GeoLocationTableEntity.cs#L30
'System.NullReferenceException' should not be thrown by user code. (https://rules.sonarsource.com/csharp/RSPEC-112)
|
code-scanning:
src/lookup-webapi/Models/GeoLocationTableEntity.cs#L82
Add a nested comment explaining why this method is empty, throw a 'NotSupportedException' or complete the implementation. (https://rules.sonarsource.com/csharp/RSPEC-1186)
|
code-scanning:
src/lookup-webapi/Models/GeoLocationTableEntity.cs#L82
Either remove or fill this block of code. (https://rules.sonarsource.com/csharp/RSPEC-108)
|
code-scanning:
src/lookup-webapi/Models/GeoLocationTableEntity.cs#L82
Use the 'value' contextual keyword in this property set accessor declaration. (https://rules.sonarsource.com/csharp/RSPEC-3237)
|
code-scanning:
src/lookup-webapi/Program.cs#L95
Await RunAsync instead. (https://rules.sonarsource.com/csharp/RSPEC-6966)
|
code-scanning:
src/lookup-webapi/Controllers/GeoLookupController.cs#L112
Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
code-scanning:
src/lookup-webapi/Controllers/GeoLookupController.cs#L182
Make 'ValidateHostname' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
|