mercari / hcledit

Go package to edit HCL configuration
MIT License
44 stars 13 forks source link

[hcledit/read] return error if fallback occurred #107

Closed ryan-ph closed 4 months ago

ryan-ph commented 4 months ago

WHAT

title

WHY

This will clarify to users of HCLEditor.Read() whether the values returned should be interpreted as a RawVal or not. Ideally, this error should be per-key in the return map since HCLEditor.Read() allows you to read multiple values from the HCL config with the splat operator.