Skip to content

Commit 109def4

Browse files
CopilotMarenz
andcommitted
Add deprecated option to CategorySet message and component_categories field
Co-authored-by: Marenz <[email protected]>
1 parent 9b7a5d3 commit 109def4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

proto/frequenz/api/dispatch/v1/dispatch.proto

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,7 @@ message TargetComponents {
344344

345345
// Deprecated: Use `CategoryTypeSet` instead
346346
message CategorySet {
347+
option deprecated = true;
347348
// Set of component categories
348349
repeated frequenz.api.common.v1alpha8.microgrid.electrical_components
349350
.ElectricalComponentCategory categories = 1;
@@ -390,7 +391,7 @@ message TargetComponents {
390391
// Deprecated: Component categories
391392
// Use `CategoryTypeSet` instead
392393
// In future versions, this field will be removed.
393-
CategorySet component_categories = 2;
394+
CategorySet component_categories = 2 [deprecated = true];
394395

395396
// Component categories with optional types
396397
CategoryTypeSet component_categories_types = 3;

0 commit comments

Comments
 (0)