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

Nested Element Access #389

Closed
wants to merge 4 commits into from
Closed

Nested Element Access #389

wants to merge 4 commits into from

Conversation

johannes-wolf
Copy link
Member

@johannes-wolf johannes-wolf commented Dec 10, 2023

This adds nested element access using “.” syntax.
Nested elements are added to a group's private nodes dictionary first, from which the
group copies them to the new context object.

I implemented paths as “flat” strings, as real element nesting might not be needed.

The new group-private nodes dict is needed to know which elements got added or overridden insides the group.

@johannes-wolf johannes-wolf linked an issue Dec 10, 2023 that may be closed by this pull request
@johannes-wolf johannes-wolf changed the title poc: Nested Element Access Nested Element Access Dec 19, 2023
@johannes-wolf johannes-wolf added the feature 🎁 Feature Request label Dec 19, 2023
@johannes-wolf
Copy link
Member Author

Closing in favor of #523.

johannes-wolf added a commit that referenced this pull request Mar 16, 2024
Supersedes #389. Closes #382 and #466 

Co-authored-by: Johannes Wolf <519002+johannes-wolf@users.noreply.github.com>
@johannes-wolf johannes-wolf deleted the nested-element-access branch May 18, 2024 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 🎁 Feature Request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow Nested Element/Anchor Access
1 participant