data-altinn-no / core

3 stars 3 forks source link

feat: allow duplicate evidence value keys #139

Closed SondreJDigdir closed 1 month ago

SondreJDigdir commented 1 month ago

Description

Tilda has multiple evidence values with the same key (tilsynsrapporter). This caused issue with envelope=false, as that made use of a hash table to serialize the evidence values before applying jmespath expression.

Adding a custom converter that serializes a keyvaluepair list to the same result as a hashtable would. This means the json can have duplicate properties, which isn't malformed, but not exactly the best practice either, but it will behave as expected

https://github.com/data-altinn-no/core/issues/10

Documentation

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud