I have an App that uses json for it’s connection config. I am attempting to build a string that contains multiple cfg’s from a binding. This is an example of my json:
{
"Connection": "Server={{bind.database.first.sys.ip}}\\\\{{bind.database.first.cfg.instance}}"
}
When this is compiled into the config folder during hab svc load
the file looks like this:
{
"Connection": "Server=127.0.0.1\\{{bind.database.first.cfg.instance}}"
}
The ip is correctly replace and the \
is only two but for some reason the instance bind is not replaced. Also interesting is if I just put the string value of the instance then it will render all 4 backslashes. I am sure I am just doing something wrong but not sure how to get this to work.