Open DeviaVir opened 4 years ago
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.
key
label
Paired with https://github.com/rodaine/hclencoder/pull/19 it brings hclencoder one step closer to compatibility with hcl v2.
In my hcl v2 support story, it additionally looks like
key
is nowlabel
. When trying to use a struct for the in and out, usinglabel
for reading works in hcl v2, but hclencoder doesn't speak it. This PR allows it to seelabel
as an alias forkey
.Paired with https://github.com/rodaine/hclencoder/pull/19 it brings hclencoder one step closer to compatibility with hcl v2.