Referencing two documents to each other Is it good practice and or recommended to reference 2 documents to each other using ref? Like this:

const FirstDocumentId = mongoose.model(
    'FirstDocumentId',
    new mongoose.Schema({
        coolField: String,
        secondDocumentId: {type: Mongoose.Schema.Types.ObjectId, ref: 'secondDocumentId'}
    })
);


const SecondDocumentId = mongoose.model(
    'SecondDocumentId',
    new mongoose.Schema({
        someField: String,
        firstDocumentId: {type: Mongoose.Schema.Types.ObjectId, ref: 'firstDocumentId'}
    })
);
All depends on their relationship. However, the way you describe it implies that this is a 1-to-1 relationship, since each schema refers to the other. Therefore, why not just combine the schemas?