Hi Everyone,
I'm using a custom action to search within algolia some items. It's working well and it return me json (I do $.hits to get them).
From this json i can select values inside using JSON path such as $.last_name.
What i'm trying to do is create a data type such as user, then create a value in App state which will be a list of DataType(user), then after fetching data in my custom action, set the App state value with $.hits.
I tried using this documentation -> https://docs.flutterflow.io/data-and-backend/custom-data-types/custom-data-type-in-custom-code
But got the error an error as Algolia return a too complex array of json which can't work with this function.
Any idea how to transform the algolia result into a data type?