-
Notifications
You must be signed in to change notification settings - Fork 14
Closed
Labels
part:❓We need to figure out which part is affectedWe need to figure out which part is affectedpriority:❓We need to figure out how soon this should be addressedWe need to figure out how soon this should be addressedtype:enhancementNew feature or enhancement visitble to usersNew feature or enhancement visitble to users
Milestone
Description
What's needed?
The ComponentCategoryMetadataVariant enum is named in a very verbose manner:
frequenz-api-common/proto/frequenz/api/common/v1/microgrid/components/components.proto
Lines 89 to 100 in 5265439
| // Metadata specific to a microgrid component. | |
| message ComponentCategoryMetadataVariant { | |
| oneof metadata { | |
| frequenz.api.common.v1.microgrid.components.Battery battery = 1; | |
| frequenz.api.common.v1.microgrid.components.EvCharger ev_charger = 2; | |
| frequenz.api.common.v1.microgrid.components.Fuse fuse = 3; | |
| frequenz.api.common.v1.microgrid.components.GridConnectionPoint grid = 4; | |
| frequenz.api.common.v1.microgrid.components.Inverter inverter = 5; | |
| frequenz.api.common.v1.microgrid.components.VoltageTransformer | |
| voltage_transformer = 6; | |
| } | |
| } |
Primarily, it is already specified as an enum, yet we add the suffix Variant to it.
Proposed solution
Maybe we just rename it to ComponentCategoryMetadata.
Use cases
No response
Alternatives and workarounds
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
part:❓We need to figure out which part is affectedWe need to figure out which part is affectedpriority:❓We need to figure out how soon this should be addressedWe need to figure out how soon this should be addressedtype:enhancementNew feature or enhancement visitble to usersNew feature or enhancement visitble to users