Skip to content

Json serialization

Json serialization #47

Triggered via pull request October 26, 2023 12:15
Status Failure
Total duration 1m 27s
Artifacts

push-package.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
build
Process completed with exit code 1.
build: src/N.SourceGenerators.UnionTypes/UnionTypesGenerator.Json.cs#L184
Converting null literal or possible null value to non-nullable type.
build: src/N.SourceGenerators.UnionTypes/UnionTypesGenerator.Json.cs#L184
Possible null reference argument for parameter 'value' in 'LiteralExpressionSyntax RoslynUtils.Utf8StringLiteral(string value)'.
build: tests/N.SourceGenerators.UnionTypes.BehaviorTests/NullableValueTests.cs#L26
Converting null literal or possible null value to non-nullable type.
build: tests/N.SourceGenerators.UnionTypes.BehaviorTests/NullableValueTests.cs#L26
Cannot convert null literal to non-nullable reference type.
build: tests/N.SourceGenerators.UnionTypes.BehaviorTests/NullableValueTests.cs#L36
Converting null literal or possible null value to non-nullable type.
build: tests/N.SourceGenerators.UnionTypes.BehaviorTests/NullableValueTests.cs#L36
Cannot convert null literal to non-nullable reference type.
build: tests/N.SourceGenerators.UnionTypes.BehaviorTests/NullableValueTests.cs#L48
Converting null literal or possible null value to non-nullable type.
build: tests/N.SourceGenerators.UnionTypes.BehaviorTests/NullableValueTests.cs#L48
Cannot convert null literal to non-nullable reference type.
build: tests/N.SourceGenerators.UnionTypes.BehaviorTests/JsonExperimentsTests.cs#L35
The field 'MyNewAttribute._typeDiscriminator' is never used
build: src/N.SourceGenerators.UnionTypes/UnionTypesGenerator.Json.cs#L184
Converting null literal or possible null value to non-nullable type.