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
Describe the bug
Property errors for map keys validation does not handle empty strings. Instead of a path like metadata.labels."" we get metadata.labels.
To Reproduce
Set map key to an empty string, run validation. The result is a property path without the empty string key element.
Expected behavior
The result should be a valid YAMLPath pointing at the empty key.
System details (please complete the following information)
govy version v0.1.1
The text was updated successfully, but these errors were encountered:
Describe the bug
Property errors for map keys validation does not handle empty strings. Instead of a path like
metadata.labels.""
we getmetadata.labels
.To Reproduce
Set map key to an empty string, run validation. The result is a property path without the empty string key element.
Expected behavior
The result should be a valid YAMLPath pointing at the empty key.
System details (please complete the following information)
The text was updated successfully, but these errors were encountered: