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

Rename ParentNode & Node to Node and LeafNode #657

Merged
merged 20 commits into from
Jan 19, 2024

Conversation

zsoltk
Copy link
Contributor

@zsoltk zsoltk commented Jan 16, 2024

Description

  • ParentNode is now simply called Node
  • Previous Node class is now called LeafNode, but it's only a convenience class, and one can simply use Node in its place too. It does not add functionality just makes it easier to instantiate Node if you don't need children.

The updated migration guide shows the diff.

Check list

  • I have updated CHANGELOG.md if required.
  • I have updated documentation if required.

@zsoltk zsoltk added this to the 2.0 milestone Jan 16, 2024
@zsoltk zsoltk changed the title Refactor node parentnode Rename ParentNode & Node to Node and LeafNode Jan 16, 2024
@zsoltk zsoltk merged commit d5a2406 into bumble-tech:2.x Jan 19, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants