Is there any way to modify the dab config file on publish? #1738
Replies: 3 comments 2 replies
-
What do you mean by "publish"? |
Beta Was this translation helpful? Give feedback.
-
My Dab config file is part of my website's project files. When I publish a staging version, I have a different connection string than in production. I was thinking something kind of like using transforms in web.config? Thanks. |
Beta Was this translation helpful? Give feedback.
-
Hi @julianadormon, Perhpas, you could use the feature to replace environment variables with their values based on your staging/production version:
For more details, see here: https://learn.microsoft.com/en-us/azure/data-api-builder/configuration-file#setting-environment-variables |
Beta Was this translation helpful? Give feedback.
-
Is there any way to modify the dab config file on publish?
Beta Was this translation helpful? Give feedback.
All reactions