Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow duplicate evidence value keys #139

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

SondreJDigdir
Copy link
Contributor

@SondreJDigdir SondreJDigdir commented Sep 11, 2024

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

#10

Documentation

  • Doc updated

Copy link

sonarcloud bot commented Sep 11, 2024

@erlendoksvoll erlendoksvoll merged commit e3c94de into master Sep 16, 2024
5 checks passed
@erlendoksvoll erlendoksvoll deleted the feat/allow-duplicate-evidence-value-keys branch September 16, 2024 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants