Continuing the transition towards a standalone CLI, this PR moves the config loading functionality into a flow function
The new flow function no longer loads and then transforms the graph. Instead, the transformation now needs to be encapsulated in the schema (in our case we use the .transform function on the schema to apply an asynchronous transformation)
The existing functionality has not been removed (i.e. createConfigLoader), it has just been marked as deprecated and its tests have been reused for the new flow function
OmniGraphBuilderHardhat has also been deprecated - as it should have been a long time ago - since what it does is not worth having an extra class there
In this PR
.transform
function on the schema to apply an asynchronous transformation)createConfigLoader
), it has just been marked as deprecated and its tests have been reused for the new flow functionOmniGraphBuilderHardhat
has also been deprecated - as it should have been a long time ago - since what it does is not worth having an extra class there