Skip to content

Bump System.Text.Json from 6.0.0 to 8.0.4 in /src/Dahomey.Json #213

Bump System.Text.Json from 6.0.0 to 8.0.4 in /src/Dahomey.Json

Bump System.Text.Json from 6.0.0 to 8.0.4 in /src/Dahomey.Json #213

Status Failure
Total duration 44s
Artifacts

BuildAndTest.yml

on: push
build_and_test
35s
build_and_test
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 2 warnings
build_and_test: src/Dahomey.Json/Serialization/Converters/Mappings/DefaultObjectMappingConvention.cs#L258
'JsonRequiredAttribute' is an ambiguous reference between 'Dahomey.Json.Attributes.JsonRequiredAttribute' and 'System.Text.Json.Serialization.JsonRequiredAttribute'
build_and_test: src/Dahomey.Json/Serialization/Converters/Mappings/DefaultObjectMappingConvention.cs#L258
'JsonRequiredAttribute' is an ambiguous reference between 'Dahomey.Json.Attributes.JsonRequiredAttribute' and 'System.Text.Json.Serialization.JsonRequiredAttribute'
build_and_test: src/Dahomey.Json/Serialization/Converters/Mappings/DefaultObjectMappingConvention.cs#L259
Operator '!=' cannot be applied to operands of type 'JsonRequiredAttribute?' and '<null>'
build_and_test: src/Dahomey.Json/Serialization/Converters/Mappings/DefaultObjectMappingConvention.cs#L261
'JsonRequiredAttribute?' does not contain a definition for 'Policy' and no accessible extension method 'Policy' accepting a first argument of type 'JsonRequiredAttribute?' could be found (are you missing a using directive or an assembly reference?)
build_and_test: src/Dahomey.Json/Serialization/Converters/Mappings/DefaultObjectMappingConvention.cs#L258
'JsonRequiredAttribute' is an ambiguous reference between 'Dahomey.Json.Attributes.JsonRequiredAttribute' and 'System.Text.Json.Serialization.JsonRequiredAttribute'
build_and_test: src/Dahomey.Json/Serialization/Converters/Mappings/DefaultObjectMappingConvention.cs#L258
'JsonRequiredAttribute' is an ambiguous reference between 'Dahomey.Json.Attributes.JsonRequiredAttribute' and 'System.Text.Json.Serialization.JsonRequiredAttribute'
build_and_test: src/Dahomey.Json/Serialization/Converters/Mappings/DefaultObjectMappingConvention.cs#L259
Operator '!=' cannot be applied to operands of type 'JsonRequiredAttribute?' and '<null>'
build_and_test: src/Dahomey.Json/Serialization/Converters/Mappings/DefaultObjectMappingConvention.cs#L261
'JsonRequiredAttribute?' does not contain a definition for 'Policy' and no accessible extension method 'Policy' accepting a first argument of type 'JsonRequiredAttribute?' could be found (are you missing a using directive or an assembly reference?)
build_and_test
Process completed with exit code 1.
build_and_test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build_and_test
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/