Skip to content

Commit ce905bd

Browse files
fixed shallow merge issue
1 parent 9581337 commit ce905bd

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/common/config.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,11 @@ const MCP_SERVER_OPTIONS = {
9999
} as const;
100100

101101
const OPTIONS = {
102-
...MONGOSH_OPTIONS,
103-
...MCP_SERVER_OPTIONS,
102+
string: { ...MONGOSH_OPTIONS.string, ...MCP_SERVER_OPTIONS.string },
103+
boolean: { ...MONGOSH_OPTIONS.boolean },
104+
array: { ...MONGOSH_OPTIONS.array },
105+
alias: { ...MONGOSH_OPTIONS.alias },
106+
configuration: { ...MONGOSH_OPTIONS.configuration },
104107
} as const;
105108

106109
const ALL_CONFIG_KEYS = new Set(

0 commit comments

Comments
 (0)