You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Warning: configuration param 'thing.properties.one' not declared in the schema
configuration param 'thing.properties.two' not declared in the schema
[snip]/convict-test/node_modules/convict/lib/convict.js:679
throw new Error(output);
^
Error: configuration param 'thing.one' missing from config, did you override its parent?
configuration param 'thing.two' missing from config, did you override its parent?
at Object.validate ([snip]/convict-test/node_modules/convict/lib/convict.js:679:17)
at Object.<anonymous> ([snip]/convict-test/index.js:18:8)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.runMain (module.js:605:10)
at run (bootstrap_node.js:427:7)
at startup (bootstrap_node.js:151:9)
Renaming properties to any other string makes the configuration validate without error..
The text was updated successfully, but these errors were encountered:
I will make a PR to fix this issue, i will replace properties keyname by _properties or _cvctProperties. Or : _cvctPr0p3rti3s, i think this one will never be use by convict user.
And add an error : "Error: You use convict reserved name".
It is not possible to have a schema with an element named "properties".
Produces the output:
Renaming
properties
to any other string makes the configuration validate without error..The text was updated successfully, but these errors were encountered: