You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 20, 2023. It is now read-only.
It just so happened that the data I was trying to return from the transform had a .content field as the first child. So I always got the child data instead of the root that I was expecting. Took me quite a while to figure out why this was happening.
I don't know the use case for response.content, but it does create a problem if your data has a root.content
I used the getDoc() method in /ui/src/redux/crud/actions/index.js
In line 37 of the code (v2.0.1 per the pkg.json):
return { content: response.content || response, ... }
It just so happened that the data I was trying to return from the transform had a .content field as the first child. So I always got the child data instead of the root that I was expecting. Took me quite a while to figure out why this was happening.
I don't know the use case for response.content, but it does create a problem if your data has a root.content
Paul Vanderveen ([email protected]
The text was updated successfully, but these errors were encountered: