function-patch-and-transform example mutates composite metadata which is not supported
Open
bug
- Dominant language
- SCSS
- Stars
- 60
- Forks
- 163
- Avg merge
- 15h 20m
- Merged PRs (30d)
- 9
Description
### URL
[](https://docs.crossplane.io/latest/concepts/environment-configs/#enable-environmentconfigs:~:text=function%20documentation.-,Patch%20between%20Composite%20resource%20and%20environment,-To%20patch%20between)
### What's Wrong?
The example using `function-patch-and-transform` has ` `ToCompositeFieldPath` patch which modifies the composite metadata. This is valid in Legacy P&T but is not supported in `function-patch-and-transform`. The example should be patching to the composite `status` object instead.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.