Commit Graph

4 Commits

Author SHA1 Message Date
Fraser Waters 0061a577eb
Support explicit parameterized providers ()
source_eval wasn't looking at package refs for explicit provider
resources, only when building default providers. This meant that
explicit provider resources for parameterized packages would fail to
construct as they wouldn't be able to find their plugin.

This fixes source_eval to check for PackageRef and set all the required
fields from the provider request it maps to.
2024-07-29 14:34:44 +00:00
Fraser Waters 9f7134039d
Add parameterized read support to the engine ()
This enables the engine to receive ReadResource for parameterized
providers.
2024-07-26 10:03:18 +00:00
Fraser Waters fcb0571b02
Fix default provider names for parameterized providers ()
These were using the base package version rather than the parameterized
package version.
2024-07-25 12:56:17 +00:00
Fraser Waters 5cbf4cf728
Extend the TestReplacementParameterizedProvider test ()
The test now checks that destroy works, and also that the parameterized
provider state is what we expect.

This required flipping around some of the state managment around reading
and writing provider inputs.
2024-07-15 08:33:36 +00:00