Skip to content

fix: Add IOptionValue type to Option class for handling string, double and bool #7321

fix: Add IOptionValue type to Option class for handling string, double and bool

fix: Add IOptionValue type to Option class for handling string, double and bool #7321

Triggered via pull request November 1, 2024 07:01
Status Failure
Total duration 1m 25s
Artifacts

designer-dotnet-test.yaml

on: pull_request
Matrix: Run dotnet build and test
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 20 warnings
Run dotnet build and test (ubuntu-latest): backend/tests/Designer.Tests/Controllers/OptionsController/GetOptionsTests.cs#L78
Argument 2: cannot convert from 'Altinn.Studio.Designer.Models.Interfaces.IOptionValue' to 'System.Collections.Generic.IAsyncEnumerable<char>?'
Run dotnet build and test (ubuntu-latest): backend/tests/Designer.Tests/Controllers/OptionsController/GetOptionsTests.cs#L81
Argument 2: cannot convert from 'Altinn.Studio.Designer.Models.Interfaces.IOptionValue' to 'System.Collections.Generic.IAsyncEnumerable<char>?'
Run dotnet build and test (ubuntu-latest): backend/tests/Designer.Tests/Controllers/OptionsController/GetOptionsTests.cs#L78
Argument 2: cannot convert from 'Altinn.Studio.Designer.Models.Interfaces.IOptionValue' to 'System.Collections.Generic.IAsyncEnumerable<char>?'
Run dotnet build and test (ubuntu-latest): backend/tests/Designer.Tests/Controllers/OptionsController/GetOptionsTests.cs#L81
Argument 2: cannot convert from 'Altinn.Studio.Designer.Models.Interfaces.IOptionValue' to 'System.Collections.Generic.IAsyncEnumerable<char>?'
Run dotnet build and test (ubuntu-latest)
Process completed with exit code 1.
Run dotnet build and test (windows-latest)
The job was canceled because "ubuntu-latest" failed.
Run dotnet build and test (windows-latest)
The operation was canceled.
Run dotnet build and test (macos-latest)
The job was canceled because "ubuntu-latest" failed.
Run dotnet build and test (macos-latest): backend/tests/Designer.Tests/Controllers/OptionsController/GetOptionsTests.cs#L78
Argument 2: cannot convert from 'Altinn.Studio.Designer.Models.Interfaces.IOptionValue' to 'System.Collections.Generic.IAsyncEnumerable<char>?'
Run dotnet build and test (macos-latest): backend/tests/Designer.Tests/Controllers/OptionsController/GetOptionsTests.cs#L81
Argument 2: cannot convert from 'Altinn.Studio.Designer.Models.Interfaces.IOptionValue' to 'System.Collections.Generic.IAsyncEnumerable<char>?'
Run dotnet build and test (macos-latest): backend/tests/Designer.Tests/Controllers/OptionsController/GetOptionsTests.cs#L78
Argument 2: cannot convert from 'Altinn.Studio.Designer.Models.Interfaces.IOptionValue' to 'System.Collections.Generic.IAsyncEnumerable<char>?'
Run dotnet build and test (macos-latest): backend/tests/Designer.Tests/Controllers/OptionsController/GetOptionsTests.cs#L81
Argument 2: cannot convert from 'Altinn.Studio.Designer.Models.Interfaces.IOptionValue' to 'System.Collections.Generic.IAsyncEnumerable<char>?'
Run dotnet build and test (macos-latest)
The operation was canceled.
Run dotnet build and test (ubuntu-latest): testdata/Model/CSharp/melding.cs#L7
The type name 'melding' only contains lower-cased ascii characters. Such names may become reserved for the language.
Run dotnet build and test (ubuntu-latest): backend/src/DataModeling/Converter/Metadata/ModelMetadataConvertException.cs#L28
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
Run dotnet build and test (ubuntu-latest): backend/src/DataModeling/Converter/Csharp/CsharpGenerationException.cs#L28
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
Run dotnet build and test (ubuntu-latest): backend/src/DataModeling/Converter/Json/JsonSchemaConvertException.cs#L36
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
Run dotnet build and test (ubuntu-latest): backend/src/DataModeling/Converter/Xml/XmlSchemaConvertException.cs#L36
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
Run dotnet build and test (ubuntu-latest): backend/src/Designer/Models/Dto/AccessListMember.cs#L9
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Run dotnet build and test (ubuntu-latest): backend/src/Designer/Models/AccessList.cs#L11
Non-nullable property 'Identifier' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Run dotnet build and test (ubuntu-latest): backend/src/Designer/Models/AccessList.cs#L12
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Run dotnet build and test (ubuntu-latest): backend/src/Designer/Models/ServiceResource.cs#L57
Non-nullable property 'ContactPoints' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Run dotnet build and test (ubuntu-latest): backend/src/Designer/Models/PagedAccessListResponse.cs#L8
Non-nullable property 'Data' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Run dotnet build and test (macos-latest): testdata/Model/CSharp/melding.cs#L7
The type name 'melding' only contains lower-cased ascii characters. Such names may become reserved for the language.
Run dotnet build and test (macos-latest): backend/src/DataModeling/Converter/Csharp/CsharpGenerationException.cs#L28
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
Run dotnet build and test (macos-latest): backend/src/DataModeling/Converter/Metadata/ModelMetadataConvertException.cs#L28
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
Run dotnet build and test (macos-latest): backend/src/DataModeling/Converter/Json/JsonSchemaConvertException.cs#L36
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
Run dotnet build and test (macos-latest): backend/src/DataModeling/Converter/Xml/XmlSchemaConvertException.cs#L36
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
Run dotnet build and test (macos-latest): backend/src/Designer/Models/Dto/AccessListMember.cs#L9
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Run dotnet build and test (macos-latest): backend/src/Designer/Models/ServiceResource.cs#L57
Non-nullable property 'ContactPoints' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Run dotnet build and test (macos-latest): backend/src/Designer/Models/PagedAccessListResponse.cs#L8
Non-nullable property 'Data' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Run dotnet build and test (macos-latest): backend/src/Designer/Models/ListviewServiceResource.cs#L37
Non-nullable property 'Environments' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Run dotnet build and test (macos-latest): backend/src/Designer/Models/LayoutSets.cs#L23
Non-nullable property 'Id' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.