fix(db-mongodb): mongodb optimizations (#10120)
There are few issues introduced in #9594 that we need to look into with these changes.
This commit is contained in:
@@ -53,12 +53,10 @@ describe('Relationship Fields', () => {
|
||||
collection: versionedRelationshipFieldSlug,
|
||||
data: {
|
||||
title: 'Version 1 Title',
|
||||
relationshipField: [
|
||||
{
|
||||
value: relatedDoc.id,
|
||||
relationTo: collection1Slug,
|
||||
},
|
||||
],
|
||||
relationshipField: {
|
||||
value: relatedDoc.id,
|
||||
relationTo: collection1Slug,
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user