cog icon indicating copy to clipboard operation
cog copied to clipboard

Package names with dashes result in invalid code

Open K-Phoen opened this issue 4 months ago • 0 comments

Our jennies do not sanitize package names enough, so if a package contains dashes it will be rendered as-is in the generated code, which is a problem for most languages.

  • [ ] Python
  • [ ] Java https://github.com/grafana/cog/pull/366
  • [x] Typescript: #276
  • [x] Go: https://github.com/grafana/cog/pull/234

K-Phoen avatar Feb 01 '24 11:02 K-Phoen