Hi There, I m very bad to find a 'great title' (at least it's descriptive).
I am updating a field of a given record with a PUT request using service mapping.
all that works fine.
however, I thought that onSuccess of that above PUT request, I could GET data from the same record but other fields via mapping.
the console throws me an error msg as follows :
Uncaught Error: Attempt to access Object by index: 0
sources describes:
if (_.isTrueObject(data) && arrayLevel) throw new Error("Attempt to access Object by index: " + pathHead);
i structured the mapping as a usual GET request with
body / $ as array / $ as object / fieldName as string
shall hv I done it different ?
any idea ?
best,
Eric