Skip to content

Move SwapNamesUpdate Business Logic to OptionTree #260

@lapp0

Description

@lapp0

Currently StateModel hackily handles swap_options by calling OptionTree.rename_attribute three times, once using a "placeholder" attribute that is recorded to the tree then ignored. This placeholder shouldn't exist and instead swap_options should call a new method OptionTree.swap_attributes. Same for SwapNamesUpdate.revert.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions