If field name contains a dash invalid Typescript is generated. #25
Labels
area/codegen
Affects quality or correctness of generated code
kind/bug
Some behavior is incorrect or out of spec
language/javascript
resolution/duplicate
This issue is a duplicate of another issue
Expected behavior
The cli to recognize that
current-context
should be renamed tocurrentContext
Current behavior
Invalid field names e.g.
current-context
:Steps to reproduce
Generate the following crd in typescript https://github.com/armory/spinnaker-operator/blob/master/deploy/crds/spinnaker.io_spinnakeraccounts_crd.yaml#L169
The text was updated successfully, but these errors were encountered: