fix(mongodb): offer rename collection on legacy agent connections
This commit is contained in:
1 parent
9fa61d53b6
commit
808317e0e7
5 files changed
+33
-23
No files matched your search
Vendored
+2
-1
@@ -277,7 +277,8 @@ describe("MongoDB sidebar mutation runtime", () => {
|
||||
activeNode.value = mongoCollectionNode();
|
||||
expect(feature.canDropMongoCollection.value).toBe(true);
|
||||
expect(feature.canDropAllMongoIndexes.value).toBe(false);
|
||||
expect(feature.canRenameMongoCollection.value).toBe(false);
|
||||
// The Legacy Agent supports renameCollection (capability-gated in the backend).
|
||||
expect(feature.canRenameMongoCollection.value).toBe(true);
|
||||
expect(feature.canCloneMongoCollection.value).toBe(true);
|
||||
expect(feature.canCreateMongoIndex.value).toBe(false);
|
||||
activeNode.value = mongoIndexesGroupNode();
|
||||
|
||||
Reference in new issue
Block a user