Commit 0fcd39d
internal/configs: Remove HCL-based functionality
The SDK doesn't work with HCL so the HCL-related parts of this package are
not necessary here, and removing them gives the freedom to switch away
from using cty as the value representation in a later commit.
The ImpliedType method was previously implemented in terms of the hcldec
package and the DecoderSpec method, so this includes a new version of
ImpliedType that just works directly with cty and doesn't go through the
hcldec ImpliedType function. The existing ImpliedType tests show no change
in behavior, and for good measure I added some type consistency checks
to the tests for two other methods that are unchanged by this commit that
show that the ImpliedType result remains compatible with them.1 parent 7c30943 commit 0fcd39d
File tree
7 files changed
+80
-925
lines changed- internal/configs/configschema
7 files changed
+80
-925
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
559 | 560 | | |
560 | 561 | | |
561 | 562 | | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
562 | 571 | | |
563 | 572 | | |
564 | 573 | | |
This file was deleted.
0 commit comments