Skip to content

Feat/set data by expression suggestions - #1801

Merged
ivarne merged 12 commits into
feature/set-data-field-by-expressionfrom
feat/set-data-by-expression-suggestions
Jun 15, 2026
Merged

Feat/set data by expression suggestions#1801
ivarne merged 12 commits into
feature/set-data-field-by-expressionfrom
feat/set-data-by-expression-suggestions

Let GetResolvedKeys accept empty []

1b1d83d
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jun 15, 2026 in 58s

Annotations

Check warning on line 161 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ7KS3dlnBxII8tdiLGB&open=AZ7KS3dlnBxII8tdiLGB&pullRequest=1801

Check warning on line 79 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ6w9xSRNROvp09h1CQS&open=AZ6w9xSRNROvp09h1CQS&pullRequest=1801

Check warning on line 74 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ6w9xSRNROvp09h1CQQ&open=AZ6w9xSRNROvp09h1CQQ&pullRequest=1801

Check warning on line 163 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ7KS3dlnBxII8tdiLGD&open=AZ7KS3dlnBxII8tdiLGD&pullRequest=1801

Check warning on line 95 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ7KS3dlnBxII8tdiLF6&open=AZ7KS3dlnBxII8tdiLF6&pullRequest=1801

Check warning on line 58 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ6w9xSRNROvp09h1CQZ&open=AZ6w9xSRNROvp09h1CQZ&pullRequest=1801

Check warning on line 63 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ6xHWUEBIK_UDFKJJC1&open=AZ6xHWUEBIK_UDFKJJC1&pullRequest=1801

Check warning on line 120 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ7KS3dlnBxII8tdiLF_&open=AZ7KS3dlnBxII8tdiLF_&pullRequest=1801

Check warning on line 57 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ6w9xSRNROvp09h1CQJ&open=AZ6w9xSRNROvp09h1CQJ&pullRequest=1801

Check warning on line 103 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ6xHWUEBIK_UDFKJJC9&open=AZ6xHWUEBIK_UDFKJJC9&pullRequest=1801

Check warning on line 107 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ7KS3dlnBxII8tdiLF8&open=AZ7KS3dlnBxII8tdiLF8&pullRequest=1801

Check warning on line 101 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ6xHWUEBIK_UDFKJJC7&open=AZ6xHWUEBIK_UDFKJJC7&pullRequest=1801

Check warning on line 146 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ7KS3dlnBxII8tdiLF1&open=AZ7KS3dlnBxII8tdiLF1&pullRequest=1801

Check warning on line 76 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ6w9xSRNROvp09h1CQR&open=AZ6w9xSRNROvp09h1CQR&pullRequest=1801

Check warning on line 62 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ6w9xSRNROvp09h1CQM&open=AZ6w9xSRNROvp09h1CQM&pullRequest=1801

Check warning on line 111 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ7KS3dlnBxII8tdiLF9&open=AZ7KS3dlnBxII8tdiLF9&pullRequest=1801

Check warning on line 59 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ6w9xSRNROvp09h1CQK&open=AZ6w9xSRNROvp09h1CQK&pullRequest=1801

Check warning on line 60 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ6xHWUEBIK_UDFKJJCz&open=AZ6xHWUEBIK_UDFKJJCz&pullRequest=1801

Check failure on line 160 in src/Altinn.App.Core/Helpers/DataModel/DataModelWrapper.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 24 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ7KS3ZGnBxII8tdiLFz&open=AZ7KS3ZGnBxII8tdiLFz&pullRequest=1801

Check warning on line 82 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ6xHWUEBIK_UDFKJJC5&open=AZ6xHWUEBIK_UDFKJJC5&pullRequest=1801

Check warning on line 145 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ7KS3dlnBxII8tdiLF0&open=AZ7KS3dlnBxII8tdiLF0&pullRequest=1801

Check warning on line 105 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ7KS3dlnBxII8tdiLF7&open=AZ7KS3dlnBxII8tdiLF7&pullRequest=1801

Check warning on line 160 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ7KS3dlnBxII8tdiLGA&open=AZ7KS3dlnBxII8tdiLGA&pullRequest=1801

Check warning on line 83 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ6w9xSRNROvp09h1CQX&open=AZ6w9xSRNROvp09h1CQX&pullRequest=1801

Check warning on line 91 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ7KS3dlnBxII8tdiLF5&open=AZ7KS3dlnBxII8tdiLF5&pullRequest=1801