Add mutation support for connect / disconnect with array relationships

This commit is contained in:
Vikram Rangnekar
2020-01-26 01:10:54 -05:00
parent 2d466bfb12
commit 52f3b1c7a2
7 changed files with 218 additions and 54 deletions

View File

@ -12,13 +12,15 @@ func cmdServ(cmd *cobra.Command, args []string) {
}
if conf != nil {
if db, err = initDBPool(conf); err != nil {
db, err = initDBPool(conf)
if err == nil {
initCompiler()
initAllowList(confPath)
initPreparedList()
} else {
fatalInProd(err, "failed to connect to database")
}
initCompiler()
initAllowList(confPath)
initPreparedList()
}
initWatcher(confPath)