Fix unknown property validation; fix override validation; be clear about which property is unknown
This commit is contained in:
parent
6f75185e74
commit
00e34b322d
5 changed files with 14 additions and 6 deletions
|
@ -63,7 +63,7 @@ export class ZeppelinPlugin<TConfig extends {} = IBasePluginConfig> extends Plug
|
|||
{},
|
||||
(this.getStaticDefaultOptions() as any).config || {},
|
||||
options.config || {},
|
||||
...options.overrides.slice(0, i),
|
||||
...options.overrides.slice(0, i).map(o => o.config || {}),
|
||||
override.config,
|
||||
);
|
||||
const errors = validateStrict(this.configSchema, merged);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue