Closed RubenCerna2079 closed 3 weeks ago
/azp run
/azp run
/azp run
/azp run
/azp run
This is great and the way that you update with the Last Known Good will close this bug here: https://github.com/Azure/data-api-builder/issues/2418
So you can added the closes tag for that issue to the PR description.
Once you address the comments should be good to go.
/azp run
/azp run
/azp run
/azp run
/azp run
/azp run
/azp run
/azp run
/azp run
/azp run
/azp run
/azp run
/azp run
Why make this change?
This change fixes issue #2396
What is this change?
In order to validate the hot-reload, first, new logic was added to the
RuntimeConfigLoader
andFileSystemRuntimeConfigLoader
, so when hot reload occurs, it updates the new states added to the loader which are isNewConfigDetected, isNewConfigValidated, and lastValidRuntimeConfig. Once the states are updated, it will try to parse and validate the new RuntimeConfig, in the case that it fails at any step of the way, the hot-reloading process will be canceled and the RuntimeConfig file will be changed so that it uses the information from lastValidRuntimeConfig so that the user can still use their last configuration without any problems.How was this tested?