diff --git a/Design:-Persistable-Context.md b/Design:-Persistable-Context.md index 511c9e5..ca51a77 100644 --- a/Design:-Persistable-Context.md +++ b/Design:-Persistable-Context.md @@ -66,7 +66,7 @@ contextStorage : { } } // you can use `file` as the `default`. - // get default(){ return this.file } + // defalut: "file" } ``` @@ -86,7 +86,8 @@ The value set in the config is passed to the plugin. These items are defined by default: "redis", > So that you can swap default easily ? ->> NOL: Either/or - default could be an alias for another config, or a full options object. +>> NOL: Either/or - default could be an alias for another config, or a full options object. +>> HU: You're right. it is easily and simple. I changed above settings.js. > DCJ: Do we need to think about passwords in the clear in these settings ? Is the whole of settings object available to other nodes ? >> NOL: The settings file contents is not accessible to the whole runtime - only the bits we choose to expose. How the user provides values to the file is up to them, such as env-var etc.