Skip to content
This repository was archived by the owner on Mar 20, 2024. It is now read-only.

Support "label" in hcl v2#20

Open
DeviaVir wants to merge 1 commit intorodaine:masterfrom
DeviaVir:hcl-v2-label
Open

Support "label" in hcl v2#20
DeviaVir wants to merge 1 commit intorodaine:masterfrom
DeviaVir:hcl-v2-label

Conversation

@DeviaVir
Copy link
Copy Markdown

@DeviaVir DeviaVir commented Feb 1, 2020

In my hcl v2 support story, it additionally looks like key is now label.
When trying to use a struct for the in and out, using label for reading works in hcl v2, but hclencoder doesn't speak it. This PR allows it to see label as an alias for key.

Paired with #19 it brings hclencoder one step closer to compatibility with hcl v2.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant