Skip to content

Enable nullable checks #23

Enable nullable checks

Enable nullable checks #23

Triggered via push December 1, 2024 00:48
Status Success
Total duration 9m 22s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: SpeedrunTracker/Models/SpeedrunDotCom/LeaderboardEntry.cs#L29
Possible null reference argument for parameter 'json' in 'Level? JsonSerializer.Deserialize<Level>(string json, JsonSerializerOptions? options = null)'.
build: SpeedrunTracker/Models/SpeedrunDotCom/LeaderboardEntry.cs#L29
Possible null reference assignment.
build: SpeedrunTracker/Models/SpeedrunDotCom/LeaderboardEntry.cs#L30
Possible null reference return.
build: SpeedrunTracker/Models/SpeedrunDotCom/LeaderboardEntry.cs#L41
Possible null reference argument for parameter 'json' in 'GamePlatform? JsonSerializer.Deserialize<GamePlatform>(string json, JsonSerializerOptions? options = null)'.
build: SpeedrunTracker/Models/SpeedrunDotCom/LeaderboardEntry.cs#L41
Possible null reference assignment.
build: SpeedrunTracker/Models/SpeedrunDotCom/LeaderboardEntry.cs#L42
Possible null reference return.
build: SpeedrunTracker/Models/SpeedrunDotCom/LeaderboardEntry.cs#L66
Possible null reference assignment.
build: SpeedrunTracker/Models/SpeedrunDotCom/LeaderboardEntry.cs#L68
Possible null reference return.
build: SpeedrunTracker/Models/SpeedrunDotCom/LeaderboardEntry.cs#L10
Non-nullable property 'Game' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: SpeedrunTracker/Models/SpeedrunDotCom/LeaderboardEntry.cs#L14
Non-nullable property 'LevelJson' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.