fix(features): remove the improved performance enumer (#9819)

# Which Problems Are Solved

Instance that had improved performance flags set, got event errors when
getting instance features. This is because the improved performance
flags were marshalled using the enumerated integers, but now needed to
be unmashalled using the added UnmarshallText method.

# How the Problems Are Solved

- Remove emnumer generation

# Additional Changes

- none

# Additional Context

- reported on QA
- Backport to next-rc / v3

(cherry picked from commit 0465d5093e)
This commit is contained in:
Tim Möhlmann
2025-04-30 10:26:04 +02:00
committed by Livio Spring
parent 82e232af72
commit 98d5e97ad4
3 changed files with 9 additions and 113 deletions

View File

@@ -57,7 +57,8 @@ type Features struct {
ConsoleUseV2UserApi bool `json:"console_use_v2_user_api,omitempty"`
}
//go:generate enumer -type ImprovedPerformanceType -trimprefix ImprovedPerformanceType -text
/* Note: do not generate the stringer or enumer for this type, is it breaks existing events */
type ImprovedPerformanceType int32
const (