-
Notifications
You must be signed in to change notification settings - Fork 591
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
embedded struct fields are not populated #136
Comments
Update: looks like this is possible, but I had to dig through the code:
I couldn't find any documentation for this, and as above |
Was this broken? doesn't seem to work in v2
|
faced the same issue with
works for me 😉 |
Unmarshalling embedded struct fields works in
encoding/json
but not HCL (as of 5b7dbf7). Here's the code usingencoding/json
: https://play.golang.org/p/rrXXw7j8VM. The equivalent in HCL follows:Would this be a contribution y'all are interested in? If you are and you could point me toward a good place to get started, I'd appreciate it :)
The text was updated successfully, but these errors were encountered: