Skip to content

feat: support nested object in reflect - #46

Merged
aspirisen merged 8 commits into
react-hook-form:mainfrom
ap0nia:nested-object-in-reflect
Oct 10, 2025
Merged

aspirisen merged 8 commits into
react-hook-form:mainfrom
ap0nia:nested-object-in-reflect

Conversation

@ap0nia

@ap0nia ap0nia commented Sep 11, 2025 •

Copy link
Copy Markdown
Contributor

Add support for returning nested objects from reflect by wrapping non-lenses with reflect before resolving within focus.

Nested object properties are treated as a lens.reflect without appending any path segments.

Closes #45

@ap0nia ap0nia changed the title support nested object in reflect feat: support nested object in reflect Sep 11, 2025
@ap0nia
ap0nia marked this pull request as ready for review September 11, 2025 22:02
@ap0nia
ap0nia marked this pull request as draft September 12, 2025 03:54
@ap0nia
ap0nia marked this pull request as ready for review September 30, 2025 15:54

@aspirisen aspirisen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ap0nia thank you for the contribution

@aspirisen
aspirisen merged commit 4920902 into react-hook-form:main Oct 10, 2025
6 checks passed
@github-actions

Copy link
Copy Markdown

馃帀 This PR is included in version 0.9.0 馃帀

The release is available on:

Your semantic-release bot 馃摝馃殌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RFC: support nested objects in reflect

2 participants