Jsonnet handling of component names with special characters
Currently, if a component name contains a special character, ex: foo-bar, this translates to the jsonnet identifier: foo-bar, which is invalid syntax. This change will quote component names where there are special characters.
Showing
- cmd/prototype.go 6 additions, 1 deletioncmd/prototype.go
- cmd/root.go 4 additions, 0 deletionscmd/root.go
- cmd/root_test.go 10 additions, 0 deletionscmd/root_test.go
- metadata/params/params.go 62 additions, 6 deletionsmetadata/params/params.go
- metadata/params/params_test.go 118 additions, 5 deletionsmetadata/params/params_test.go
- utils/strings.go 32 additions, 0 deletionsutils/strings.go
- utils/strings_test.go 53 additions, 0 deletionsutils/strings_test.go
Please register or sign in to comment