You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the range attributes, the generated CRD always contain decimal values, but generated in the culture of the OS.
Which is invalid, as yaml only accepts a decimal point, and some cultures use decimal commas.
To reproduce
[RangeMinimum(Minimum = byte.MinValue), RangeMaximum(Maximum = byte.MaxValue)]
public int MyProperty {get; set;}
Describe the bug
When using the range attributes, the generated CRD always contain decimal values, but generated in the culture of the OS.
Which is invalid, as yaml only accepts a decimal point, and some cultures use decimal commas.
To reproduce
generates
in culture nl-BE
Expected behavior
I'd expect it to generate Invariant Culture numbers:
and for integers i'd even expect:
Screenshots
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: