instead of "all possible params" being in the sig, I think it might be simpler 
to pass a config object, which will vary based on db type, e.g.
```
let cosmosConfig = {type: "cosmosdb", url: "", rootdb:"", masterkey:""};
let couchConfig = {type: "couchdb", url: "", dbname:""};
getDatabase(config);
```

[ Full content available at: 
https://github.com/apache/incubator-openwhisk-package-alarms/pull/163 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to