dev-proxy icon indicating copy to clipboard operation
dev-proxy copied to clipboard

Default option values vs. config in appsettings.json

Open waldekmastykarz opened this issue 1 year ago • 0 comments

Right now, if an option uses a default value, it will overwrite whatever setting we have in appsettings.json. One way to solve it would be to not use default values for options, but could that possibly lead to issues if the option was specified neither in appsettings.json nor in command line @gavinbarron? Would the best pattern for this be to set the default value in the variable in the code, and then let it be overridden by appsettings.json and then options if defined?

waldekmastykarz avatar Feb 06 '23 09:02 waldekmastykarz