We have field defined in mongoose
feild1: [
{
type: Schema.Types.Mixed,
validate: customValidatior,
default: customDefaultFeild,
},
]
In V4 version , feild1 is getting that is getting mapped in following manner in .forestadmin-schema.json
“field”: “feild1”,
“type”: [{
“fields”: [{
“field”: “validate”,
“type”: {
“fields”:
}
}, {
“field”: “default”,
“type”: [{
“fields”:
}]
}]
}],
In V6 version .forestadmin-schema.json
{
“field”: “feild1”,
“type”: [null],
“defaultValue”: null,
}
Forest admin Meta
“database_type”: “MongoDB”,
“liana”: “forest-express-mongoose”,
“liana_version”: “6.3.4”,
“engine”: “nodejs”,
“engine_version”: “12.18.0”,
“framework”: “express”,
“framework_version”: “^4.17.1”,
“orm_version”: “5.9.29”
It should display all details in the forestadmin for feild1
Actual behavior
Currently feild1 is displayed as following in the forestadmin
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
On edit it display its value as
<(unknown):ember92186:owner(XXXXXXXX)>
Failure Logs
TODO: Please provide any relevant information about your setup.
Package Version: 6.3.4
Express Version: 4.17.1
Mongoose Version: 5.9.29
MongoDB Version: 3.5.10