Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code generation fails for nested recursive local reference #1197

Open
vinayak-kukreja opened this issue Sep 25, 2023 · 0 comments
Open

Code generation fails for nested recursive local reference #1197

vinayak-kukreja opened this issue Sep 25, 2023 · 0 comments
Labels

Comments

@vinayak-kukreja
Copy link
Contributor

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 vinayak-kukreja changed the title Code generation fails for nested local reference Code generation fails for nested recursive local reference Sep 30, 2023
@mrgrain mrgrain added the p2 label Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants