Skip to content

refactor(datastore): dispatch import steps from single function

Hayley Swimelar requested to merge refactor-importer into master

This MR consolidates all of the logic for the three new import steps into a single function.

Each of the three separate steps and the full import needed identical boilerplate code before and after the import step(s) were completed. Now, all of the pre and post import code is handled in the same place, allowing us flexibility to change this in the future and removing a lot of repetition.

Merge request reports

Loading