Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Emyrk
Copy link
Member

@Emyrk Emyrk commented Jun 2, 2025

No description provided.

@Emyrk Emyrk requested a review from brettkolodny June 2, 2025 14:43
Files map[string]*hcl.File
// They can be marshalled, but not unmarshalled. This is a limitation
// of the HCL library.
Files map[string]*hcl.File `json:"-"`

Choose a reason for hiding this comment

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

Is setting the key to "-" prevent it from being unmarshalled?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes exactly 👍

@Emyrk Emyrk merged commit 131ed6b into main Jun 2, 2025
3 checks passed
@Emyrk Emyrk deleted the stevenmasley/json branch June 2, 2025 16:46
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