CRD for Percona Server for MongoDB Operator generates invalid typescript: #70
Labels
area/codegen
Affects quality or correctness of generated code
kind/bug
Some behavior is incorrect or out of spec
resolution/fixed
This issue was fixed
Hello!
Issue details
I would like to generate typescript CRDs for Percona Server for MongoDB Operator.
Source CRD: https://github.com/percona/percona-server-mongodb-operator/blob/main/deploy/crd.yaml
Unfortunately, it generates invalid code - see generated
psmdb\index.ts
:This leads to typescript error ts(2300) with the message
Duplicate identifier 'v1'
Steps to reproduce
Expected:
I would expect crd2pulumi to ensure naming is valid for imports:
Actual:
Produces invalid code.
The text was updated successfully, but these errors were encountered: