Hi all,
I am writing this as a continuation of what Andre Fischer wrote on this blog regarding the issues that exist for working with Deep Updates in ODATA v4.
I was definitelly able to sort this out by using a similar approach to the one he said by using a custom HTTP Handler which was intercepting the PATCH request and was achieving what I wanted.
However, I'd like to have all the things together within RAP and saw a message from Andre stating that he was going to try to provide detail about an alternative method which consisted on using Actions. I have defined my RAP action and have while using a plain abstract entity as a parameter. However, I am currently experiencing issues when trying to convert this plain abstract entity into a deep one with a simple second level (both abstract entities joined through an association). When triggering the POST for the action, I am now getting an error due to malformed syntax on the payload but this is well written and validated.
Has anyone experienced something similar?
Andre Fischer do you have any advice on how to build the abstract entity that needs to be used as the structure for simulating the deep update through a custom action? Was this the way you were thinking as a workaround for the deep update issue?
Advices are very welcome!
Regards.
Alejandro.