Skip to content

Conversation

@ap0nia
Copy link
Contributor

@ap0nia ap0nia commented Sep 11, 2025

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
Copy link
Collaborator

@aspirisen aspirisen left a comment

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

🎉 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