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

Edits at root #41

Merged
merged 7 commits into from
Sep 30, 2024
Merged

Edits at root #41

merged 7 commits into from
Sep 30, 2024

Conversation

Malcohol
Copy link
Owner

The root of FeatureElements was usually hidden, so it could not be edited and there was therefore no need to store modifiers at the empty path. Additionally, there was no default constructable PathStep to assign to that node.

I now intend to place value types at the root and I want them to be editable.

This PR prepares the way by adding an extra root node to the EditTree to allow it to store modifiers at the empty path. It also introduces a "NotAStep" value for PathStep which is used for the root.

@Malcohol Malcohol merged commit 0deae7d into main Sep 30, 2024
2 checks passed
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.

1 participant