I have a flow with a Lightning Web Component. The LWC takes a list or Records as a variable for input and output. The LWC renders a lightning-datatable in which the user may edit various fields of the records, and remove/add records.
I expect the record list variable to be modified after leaving the LWC screen. It IS modified if I create a new record, but the original record cannot be modified.
I have read on docs that the @api annotation makes the variable read-only by wrapping it in a proxy. Then, how can I edit the records?