Hello @Francesco_Pantano,
Well, actually I guess it’s supposed to be the way it is now (displayed as related data as shown in this part of the documentation).
There was a bug before, that’s why you were not seeing the related data, and it was fixed this morning.
This display is supposed to be helpful to browse your data.
I understand that in your case, it was better to have a raw JSON field?
I am going to send this request in our features roadmap so that you can decide in the future if you want the related data display or not.
Meanwhile, a solution that could work for you would be to have a smart field, defined pretty much like this (in your forest/autorizzazioni
file):
const { collection } = require('forest-express-mongoose');
collection('autorizzazione', {
actions: [],
fields: [{
field: 'Array_cer',
type: 'Json',
get: (autorizzazione) => {
return autorizzazione.array_cer;
},
set: (autorizzazione, array_cer) => {
return array_cer;
}
}],
segments: [],
});
Let me know.
Thanks!