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
While the doc and example depths are still being built out, it would be helpful to return as much information in error messages as possible, for instance:
In the oslo spec project there isn't much depth around what options there are for fields like the SLO.Spec.TimeWindows[].Unit field, though the validator code does a nice job of validating those items here.
It would be useful in this area and others to return useful information like what options must be specified in the error messages, so that sorry suckers like yours truly don't have to slap on the diving equipment and find the answer for ourselves :)
Current behavior: Error: Key: 'SLO.Spec.TimeWindows[0].Unit' Error:Field validation for 'Unit' failed on the 'oneof' tag
Expected behavior: Error: Key: 'SLO.Spec.TimeWindows[0].Unit' Error:Field validation for 'Unit' failed on the 'oneof' tag [Second Quarter Month Week Day]
The text was updated successfully, but these errors were encountered:
While the doc and example depths are still being built out, it would be helpful to return as much information in error messages as possible, for instance:
In the oslo spec project there isn't much depth around what options there are for fields like the
SLO.Spec.TimeWindows[].Unit
field, though the validator code does a nice job of validating those items here.It would be useful in this area and others to return useful information like what options must be specified in the error messages, so that sorry suckers like yours truly don't have to slap on the diving equipment and find the answer for ourselves :)
Current behavior:
Error: Key: 'SLO.Spec.TimeWindows[0].Unit' Error:Field validation for 'Unit' failed on the 'oneof' tag
Expected behavior:
Error: Key: 'SLO.Spec.TimeWindows[0].Unit' Error:Field validation for 'Unit' failed on the 'oneof' tag [Second Quarter Month Week Day]
The text was updated successfully, but these errors were encountered: