Skip to content

[BUG] Appsettings override when application update #7

@picolino

Description

@picolino

🐛 Bug Report

When application update, current appsettings.yaml file from current install directory overrides by new file from the installer.
This behaviour leads to overwrite all settings that was set previously.

Expected behavior

When application update, we should add missing configuration keys, but not overwrite already placed config keys.
Or make other migration behaviour that will be able to migrate config files more flexible while update.

Reproduction steps

  1. Install previous release
  2. Change appsettings.yaml file
  3. Update application to latest release using installer
  4. appsettings.yaml file became overwritten

Version: 1.0.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions