-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Labels
bugSomething isn't workingSomething isn't working
Description
terraform-plugin-go version
v0.3.1
Expected Behavior
Complex types that have object elements or attributes that contain optional attributes (a map of objects with optional attributes, an object with an object attribute that has optional attributes, etc.) should be surfaced as a value without optional attributes when surfaced from msgpack or JSON.
Actual Behavior
The values retain their type constraints as types, instead of the actual type. Meaning they'd still have optional attributes as part of their type, instead of their concrete type.
References
- tftypes: Enhance Type Comparisons Functionality #94 discovered this problem but for DynamicPseudoType, which is the other place type constraints come up
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working