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

refactor: Introduce enum like class for node types #2

Open
wants to merge 2 commits into
base: feat/I-love-chores
Choose a base branch
from

Conversation

Niellles
Copy link
Owner

@Niellles Niellles commented Feb 8, 2024

In future versions (if support for <8.1 is ever dropped) this enum like class may be replaced with a proper enum. Then it could potentially replace several more strings (tag names) across the repo.

Add tests for all known node types that can be created by NodeRegistry.
Add enum like class to represent node types and there respective class FQDN instead of static property on NodeRegistry.
@Niellles Niellles changed the base branch from main to feat/I-love-chores February 8, 2024 22:20
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