-
-
Notifications
You must be signed in to change notification settings - Fork 532
Two-dimensional arrays not handled? #46
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
Comments
Ah yup! This is a bug. Sorry for the delay. I’ll add a PR & a test to catch this right away. Sorry for the inconvenience! |
@scvnathan could you try the latest version? Using |
I even added a test for catching nested nested arrays so we should be good 😛 environments:
type: "array"
items:
type: "array"
items:
type: "array"
items: { type: "string" } should generate to: environments?: string[][][]; |
Hey thanks @DangoDev, nice job! I'll test this out again today |
Hi, it looks like two-dimensional arrays are not being handled, which I noticed in my own project but I've replicated the behavior here by modifying
example/input.yaml
:I would expect the generated type to be:
But it ends up generating this:
Does this look like a valid bug?
Thanks
The text was updated successfully, but these errors were encountered: