cdklabs / cdklabs/json2jsii

Code generation fails for nested recursive local reference

Open
#1,197 0 comments 0 reactions 0 assignees View on GitHub
p2
Dominant language
TypeScript
Stars
24
Forks
14
Avg merge
22m
Merged PRs (30d)
4

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.