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

feat: add aliases to --json output #1431

Merged
merged 2 commits into from
Dec 21, 2023
Merged

Conversation

pd93
Copy link
Member

@pd93 pd93 commented Dec 18, 2023

Fixes #1430

Only point of note - I decided that when aliases is empty, it should marshal to [] instead of null or being omitted. Welcome to opinions on this, but an empty array makes the most sense to me.

@pd93 pd93 added type: feature A new feature or functionality. area: json schema Changes related to the JSON schema. labels Dec 18, 2023
@pd93 pd93 force-pushed the add-aliases-to-json-output branch from 0757208 to f4c3d2d Compare December 19, 2023 01:21
@andreynering andreynering merged commit abf0d29 into main Dec 21, 2023
10 checks passed
@andreynering andreynering deleted the add-aliases-to-json-output branch December 21, 2023 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: json schema Changes related to the JSON schema. type: feature A new feature or functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Include aliases in --list --json
2 participants