Closed truongnht closed 3 months ago
Aha, I see what happened, when I refactored and properly splitted the patch types I introduced a breaking change inadvertently, as although they should have not been supported, they were actually working before. It could be fine supporting both ways to define those patches, ToEnvironment == FromCompositeFieldPath, FromEnvironment == ToCompositeFieldPath 🤔
In
function-patch-and-transform
0.2.1 we do have support forToEnvironmentFieldPath
, so the following was supported in our compositionHowever in latest release the
ToEnvironmentFieldPath
patch type is no longer supported, ratherFromCompositeFieldPath
. Since our platform supports also customer compositions, it is not easy bringing breaking changes without verifying with all customers. Our ask is to bring back the support forTo|FromEnvironmentFieldPath
inspec.environment.patches