Hi,
Can you try to use Mixed
:
const documentSchema = Schema({
_id: Schema.Types.ObjectId,
title: String,
date: Date,
references: [{ type: Schema.Types.Mixed }]
});
Hi,
Can you try to use Mixed
:
const documentSchema = Schema({
_id: Schema.Types.ObjectId,
title: String,
date: Date,
references: [{ type: Schema.Types.Mixed }]
});