Merge pull request #6 from eclipserporg/feature/restrict_to_local #13
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
10 warnings
build:
Settings/ServerApiSettings.cs#L5
Non-nullable property 'Url' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
build:
Settings/ServerApiSettings.cs#L6
Non-nullable property 'Username' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
build:
Settings/ServerApiSettings.cs#L7
Non-nullable property 'Password' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
build:
Settings/DiscordSettings.cs#L32
Non-nullable property 'Token' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
build:
Settings/DiscordSettings.cs#L34
Non-nullable property 'Roles' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
build:
Settings/DiscordSettings.cs#L35
Non-nullable property 'Channels' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
build:
Services/RunnerService.cs#L11
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:
Program.cs#L24
The type 'app.Services.RunnerService?' cannot be used as type parameter 'THostedService' in the generic type or method 'ServiceCollectionHostedServiceExtensions.AddHostedService<THostedService>(IServiceCollection, Func<IServiceProvider, THostedService>)'. Nullability of type argument 'app.Services.RunnerService?' doesn't match 'class' constraint.
|
build:
Program.cs#L24
The type 'app.Services.RunnerService?' cannot be used as type parameter 'THostedService' in the generic type or method 'ServiceCollectionHostedServiceExtensions.AddHostedService<THostedService>(IServiceCollection, Func<IServiceProvider, THostedService>)'. Nullability of type argument 'app.Services.RunnerService?' doesn't match constraint type 'Microsoft.Extensions.Hosting.IHostedService'.
|
build:
Program.cs#L24
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<IServiceProvider, RunnerService?>' (possibly because of nullability attributes).
|