Skip to content

Support dot-notation traversal for nested root array in RootKey#17

Open
teghoz wants to merge 13 commits intomainfrom
develop
Open

Support dot-notation traversal for nested root array in RootKey#17
teghoz wants to merge 13 commits intomainfrom
develop

Conversation

@teghoz
Copy link
Copy Markdown
Owner

@teghoz teghoz commented Apr 14, 2026

No description provided.

teghoz-strongtie and others added 12 commits October 24, 2025 16:22
…-mapping

Feature/fix dot notation for custom mapping
* use selectToken

* updates

---------

Co-authored-by: Aghogho Bernard <abernard@strongtie.com>
…lue when the supplied itemkey is not present (#11)

Co-authored-by: Aghogho Bernard <abernard@strongtie.com>
* main:
  Fix dot notation for nested properties (#9)

# Conflicts:
#	CustomAutoAdapterMapper/CustomAutoAdapterMapper.csproj
#	CustomAutoAdapterMapper/Mapper.cs
* Check if itemkey is mapped and check is the objects has the mapped value when the supplied itemkey is not present

* updated package version

* bug fix for iteration decision

---------

Co-authored-by: Aghogho Bernard <abernard@strongtie.com>
* main:
  Iteration Determination (#12)
* Check if itemkey is mapped and check is the objects has the mapped value when the supplied itemkey is not present

* updated package version

* bug fix for iteration decision

* Bug Fix

* version update

---------

Co-authored-by: Aghogho Bernard <abernard@strongtie.com>
Switch jsonObject[option.RootKey] to jsonObject.SelectToken(option.RootKey)
so that paths like 'getemployee.employeeDetails' resolve correctly into
nested JSON structures. Single-level RootKey values continue to work unchanged.

Add test coverage for two-level and three-level nested root keys, null mapped
property values, missing feed records, and remapped ItemKey JSON lookups.
@teghoz teghoz self-assigned this Apr 14, 2026
* use selectToken

* updates

---------

Co-authored-by: Aghogho Bernard <abernard@strongtie.com>
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