Update worker_deploy.yml #82
Annotations
12 warnings
build:
src/AirSnitch.Worker/AirPollutionConsumer/Pipeline/ValidateMessageBlock.cs#L22
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
src/AirSnitch.Worker/AirPollutionConsumer/Pipeline/ValidateMessageBlock.cs#L22
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
src/AirSnitch.Domain/Models/GeoCoordinates.cs#L5
'GeoCoordinates' overrides Object.Equals(object o) but does not override Object.GetHashCode()
|
build:
src/AirSnitch.Domain/Models/ApiClient.cs#L106
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
build:
src/AirSnitch.Domain/Models/InvalidEntityStateException.cs#L20
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
build:
src/AirSnitch.Domain/Models/InvalidEntityStateException.cs#L20
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
build:
src/AirSnitch.Domain/Models/InvalidEntityStateException.cs#L16
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
build:
src/AirSnitch.Domain/Models/MonitoringStation.cs#L75
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
build:
src/AirSnitch.Domain/Models/GeoCoordinates.cs#L14
Field 'GeoCoordinates._isEmpty' is never assigned to, and will always have its default value false
|
build:
src/AirSnitch.Infrastructure.Abstract/Persistence/Query/IQuery.cs#L14
The field 'PageOptions._empty' is assigned but its value is never used
|
build:
src/AirSnitch.Infrastructure/Cryptography/Hashing/Salt.cs#L13
'RNGCryptoServiceProvider' is obsolete: 'RNGCryptoServiceProvider is obsolete. To generate a random number, use one of the RandomNumberGenerator static methods instead.' (https://aka.ms/dotnet-warnings/SYSLIB0023)
|
build:
src/AirSnitch.Infrastructure/Persistence/Query/MongoDbQuery.cs#L51
'BsonDocument.Add(IEnumerable<BsonElement>)' is obsolete: 'Use AddRange instead.'
|