-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restrict autoScale to Allowed Values Only #182
Restrict autoScale to Allowed Values Only #182
Comments
Important Only in combination with autoScale.updateOnRuntime = true |
Extension: We should extend the check for the (experimental) flag -> only allow checking it, when a valid scaling mode is configured |
This is actually not that easy to achieve: everything related to these scaling modes is hidden in the |
Ah okay, you are right, then it is not in scope for this ticket, I would say. This should never happen anyway, unless you are doing something explicitly e.g. in the ini |
We need to enforce stricter validation on the autoScale parameter. Currently, unsupported values such as half and int200 are being used. To ensure consistent functionality and reduce errors, we will now throw an SWT error if an unsupported value is provided.
Allowed Values:
Disallowed Values:
Expected Behavior:
Users attempting to set autoScale to any value outside the allowed list will encounter an SWT error with a clear message indicating the invalid value and the list of permitted options.
The text was updated successfully, but these errors were encountered: