Update dotnet.yml #2
Annotations
10 warnings
|
build:
src/Disc.NET/Gateway/GatewayConnection.cs#L141
Possible null reference argument for parameter 'context' in 'Task IHandler.HandleAsync(GatewayEvent @event, JsonDocument context, AppConfiguration configuration)'.
|
|
build:
src/Disc.NET/Handlers/EventHandlers/SlashCommandRegisterHandler.cs#L28
Converting null literal or possible null value to non-nullable type.
|
|
build:
src/Disc.NET/Handlers/EventHandlers/SlashCommandHandler.cs#L61
Possible null reference argument for parameter 'interactionToken' in 'Task IClient.InteractionRespondingAsync(string interactionId, string interactionToken, string responseJson, CancellationToken cancellation = default(CancellationToken))'.
|
|
build:
src/Disc.NET/Handlers/EventHandlers/SlashCommandHandler.cs#L61
Possible null reference argument for parameter 'interactionId' in 'Task IClient.InteractionRespondingAsync(string interactionId, string interactionToken, string responseJson, CancellationToken cancellation = default(CancellationToken))'.
|
|
build:
src/Disc.NET/Handlers/EventHandlers/SlashCommandHandler.cs#L33
Converting null literal or possible null value to non-nullable type.
|
|
build:
src/Disc.NET/Handlers/EventHandlers/SlashCommandHandler.cs#L27
Possible null reference argument for parameter 'json' in 'SlashCommandParamsResult? DiscNetSerializer.Deserialize<SlashCommandParamsResult>(string json)'.
|
|
build:
src/Disc.NET/Handlers/EventHandlers/PrefixCommandHandler.cs#L38
Converting null literal or possible null value to non-nullable type.
|
|
build:
src/Disc.NET/Configuration/DiscNetContainer.cs#L9
Non-nullable field '_containerBuilder' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
|
build:
src/Disc.NET.Commands/Contexts/InteractionContext.cs#L15
Non-nullable property 'Response' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
build:
src/Disc.NET.Commands/Contexts/CommandContext.cs#L20
Non-nullable property 'Response' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|