fix: Add IOptionValue type to Option class for handling string, double and bool #7321
Annotations
9 errors and 10 warnings
Build:
backend/tests/Designer.Tests/Controllers/OptionsController/UpdateOptionsTests.cs#L144
Using the generic type 'Option<T>' requires 1 type arguments
|
Build:
backend/tests/Designer.Tests/Controllers/OptionsController/UpdateOptionsTests.cs#L149
Using the generic type 'Option<T>' requires 1 type arguments
|
Build:
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>?'
|
Build:
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>?'
|
Build:
backend/tests/Designer.Tests/Controllers/OptionsController/UpdateOptionsTests.cs#L144
Using the generic type 'Option<T>' requires 1 type arguments
|
Build:
backend/tests/Designer.Tests/Controllers/OptionsController/UpdateOptionsTests.cs#L149
Using the generic type 'Option<T>' requires 1 type arguments
|
Build:
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>?'
|
Build:
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>?'
|
Build
Process completed with exit code 1.
|
Build:
testdata/Model/CSharp/melding.cs#L7
The type name 'melding' only contains lower-cased ascii characters. Such names may become reserved for the language.
|
Build:
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)
|
Build:
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)
|
Build:
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)
|
Build:
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)
|
Build:
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.
|
Build:
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.
|
Build:
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.
|
Build:
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.
|
Build:
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.
|
Loading