Skip to content

Commit a9d06fd

Browse files
authored
fix(@cubejs-backend/server-core): Allow initApp as server-core option (#1115)
1 parent 15e1159 commit a9d06fd

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/cubejs-server-core/core/index.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ describe('index.test', () => {
7373
schemaPath: '/test/path/test/',
7474
basePath: '/basePath',
7575
webSocketsBasePath: '/webSocketsBasePath',
76+
initApp: () => {},
7677
devServer: false,
7778
logger: () => {},
7879
driverFactory: () => {},

packages/cubejs-server-core/core/optionsValidate.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ const schemaOptions = Joi.object().keys({
2424
webSocketsBasePath: Joi.string(),
2525
devServer: Joi.boolean(),
2626
webSockets: Joi.boolean(),
27+
initApp: Joi.func(),
2728
logger: Joi.func(),
2829
driverFactory: Joi.func(),
2930
externalDriverFactory: Joi.func(),

0 commit comments

Comments
 (0)