json2jsii icon indicating copy to clipboard operation
json2jsii copied to clipboard

Code generation fails for nested recursive local reference

Open vinayak-kukreja opened this issue 2 years ago • 0 comments

Currently code generation fails if there is a nested local reference present. Here is where the error is thrown: https://github.com/cdklabs/json2jsii/blob/main/src/type-generator.ts#L543-L557

Here is an example of schema that fails with this: https://github.com/vinayak-kukreja/SchemaValidation/blob/main/chart-schemas/alertmanager.json#L153-L227

vinayak-kukreja avatar Sep 25 '23 20:09 vinayak-kukreja