-
Notifications
You must be signed in to change notification settings - Fork 101
Closed
Labels
tech-debtIssues tracking technical debt that we're carrying.Issues tracking technical debt that we're carrying.
Description
Currently, the framework is following a model of keeping everything as a tftypes.Value
all the way through the framework, until the config, state, or plan tries to retrieve it, then converts back from an attr.Value
into a tftypes.Value
when setting the config, state, or plan. That means that for all the framework code, we're more likely to be using the tftypes.Value
abstraction than the attr.Value
abstraction provider developers are using and expect.
I'm suspicious that we can clean up a lot of code, handle a lot of edge cases, and make more things work intuitively the way provider developers expect if we instead convert from tftypes.Value
s into attr.Value
s when handling protocol requests, and then passing around the attr.Value
s.
Metadata
Metadata
Assignees
Labels
tech-debtIssues tracking technical debt that we're carrying.Issues tracking technical debt that we're carrying.