Skip to content

fix: dictionary key access in nested #each with mixed Dict/List data (issue #466) - #626

Merged
rexm merged 2 commits into
masterfrom
worktree-agent-a460e3773bddb0ab8
Jun 20, 2026
Merged

fix: dictionary key access in nested #each with mixed Dict/List data (issue #466)#626
rexm merged 2 commits into
masterfrom
worktree-agent-a460e3773bddb0ab8

Conversation

@rexm

@rexmrexm commented Jun 20, 2026

Copy link
Copy Markdown
Member

Summary

Test plan

  • Added Issue466_NestedEachWithMixedDictionaryAndList to IssueTests.cs — confirmed it fails before the fix and passes after
  • All 1747 existing tests still pass with no regressions

🤖 Generated with Claude Code

rexmand others added 2 commits June 19, 2026 20:57
…ssor (issue #466)
DictionaryMemberAccessor previously used the lowercase variant of the key
name for all IDictionary lookups, causing camelCase/PascalCase keys (e.g.
"emailAddress") to go unresolved when used inside a nested #each over a
List<Dictionary<object,object>>. Fix tries TrimmedValue (original case)
first, then falls back to LowerInvariant for backward compatibility.
Fixes#466
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@rexm
rexm enabled auto-merge June 20, 2026 12:23
@sonarqubecloud

Copy link
Copy Markdown

@rexm
rexm merged commit 3e73376 into masterJun 20, 2026
7 checks passed
@rexm
rexm deleted the worktree-agent-a460e3773bddb0ab8 branch June 20, 2026 12:34
Sign up for freeto 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.

Unable to retrieve dictionary values in nested call to the each helper when the data is a mix of Dictionary and List.

1 participant

@rexm