Skip to content

Rename Component::component_type to improve clarity #248

@tiyash-basu-frequenz

Description

@tiyash-basu-frequenz

What's needed?

The way this field is named in the Component message is misleading:

// The metadata specific to the component category type.
ComponentCategoryMetadataVariant category_type = 5;

The field name was left as is since older times, and it probably needs to be updated to reflect its latest type.

Proposed solution

We could just rename it to component_metadata.

Use cases

No response

Alternatives and workarounds

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    part:❓We need to figure out which part is affectedpriority:❓We need to figure out how soon this should be addressedtype:enhancementNew feature or enhancement visitble to users

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions