call ApplyTFConversions in Update function from terraform plugin sdk external client by digna-ionos · Pull Request #440 · crossplane/upjet (original) (raw)
Not calling ApplyTFConversions in Udate function of tf plugin sdk external client was causing unmarshalling errors for singleton lists.
Description of your changes
add ApplyTFConversions call in Update function, after marshalling json state and before setting the observation.
Fixes #438
I have:
- Read and followed Upjet's contribution process.
- Run
make reviewableto ensure this PR is ready for review. - Added
backport release-x.ylabels to auto-backport this PR if necessary.
How has this code been tested
There are already tests in place for Update function.