Skip to content

refactor: put all properties in a single enum#916

Open
pgiraud wants to merge 1 commit into
masterfrom
property_enum
Open

refactor: put all properties in a single enum#916
pgiraud wants to merge 1 commit into
masterfrom
property_enum

Conversation

@pgiraud

@pgiraud pgiraud commented Jun 22, 2026

Copy link
Copy Markdown
Member

Since the properties can be shared among different types of objects (Nodes, Buffers, Planning, Serialization), and in order to ease the usage of the "generic" formatNodeProp function, we put all the properties in a single enum.

The NodeProp enum is renamed to Property and other enums are merged into it.

The formatNodeProp is renamed to formatProp since it's not only Node related.

Since the properties can be shared among different types of objects
(Nodes, Buffers, Planning, Serialization), and in order to ease the
usage of the "generic" formatNodeProp function, we put all the
properties in a single enum.

The NodeProp enum is renamed to Property and other enums are merged into
it.

The formatNodeProp is renamed to formatProp since it's not only Node
related.
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