Skip to content

feat: Introduce ElementChildRelation for node participation in the Duit element tree - #59

Merged
lesleysin merged 1 commit into
mainfrom
child-relation-const
Apr 3, 2026
Merged

lesleysin merged 1 commit into
mainfrom
child-relation-const

Conversation

@lesleysin

Copy link
Copy Markdown
Member
  • Added a new sealed class ElementChildRelation with stable numeric codes representing different child relationship types.
  • Updated index.dart to export the new element_child_relation.dart file.
  • Modified documentation in descriptor.dart to recommend using ElementChildRelation constants instead of raw integers for defining child relationships.

…it element tree

- Added a new sealed class `ElementChildRelation` with stable numeric codes representing different child relationship types.
- Updated `index.dart` to export the new `element_child_relation.dart` file.
- Modified documentation in `descriptor.dart` to recommend using `ElementChildRelation` constants instead of raw integers for defining child relationships.
@lesleysin lesleysin self-assigned this Apr 3, 2026
@lesleysin
lesleysin merged commit 0a22f63 into main Apr 3, 2026
11 checks passed
@lesleysin
lesleysin deleted the child-relation-const branch April 3, 2026 09:47
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