Skip to content

Changes to upgrade logic... #238

@alan412

Description

@alan412

This is a place for us to put ideas of upgrade logic, even though we'll wait to do that...

Thought 1 - All of them requiring loading and saving the blocks. Perhaps that should happen outside of the individual upgrade methods.

Thought 2 - Then perhaps blocks should have a upgradeFrom_xxxx_to_xxx method in them if necessary and the upgrade method just calls those.

Thought 3 - We could even go through all the blocks and if they have a corresponding method call it.

I am pretty convinced of Thought 1 and 2. Thought 3 is a little inefficient (it would test every block), so right now I am thinking it is not a good idea.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions