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

fix: correctly show variable type #218

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

albertodonato
Copy link
Collaborator

Populate the "type" field for variables (which currently shows as null).

The type is obtained from the "friendly name" for the CTY var (e.g. "string", "map of string", "list of string").

@albertodonato albertodonato changed the title fix: correctly show variable type if declared fix: correctly show variable type Oct 8, 2024
Copy link
Member

@ajkerrigan ajkerrigan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, this change definitely makes the output friendlier 👍 . Thanks!

@ajkerrigan ajkerrigan merged commit 2df5ea0 into cloud-custodian:main Oct 8, 2024
8 checks passed
@albertodonato albertodonato deleted the show-variable-type branch October 9, 2024 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants