As mentioned in #472, clients may want to be able to add additional files to a download batch builder outside a single flow. At the moment Batch is immutable, which is good, but a builder can only be created and used in a single step.
Solution
Create a mechanism where clients can create a BatchBuilder from a given batch, allowing them to append additional files before posting to the download-manager.
Problem
As mentioned in #472, clients may want to be able to add additional files to a download batch builder outside a single flow. At the moment
Batch
is immutable, which is good, but a builder can only be created and used in a single step.Solution
Create a mechanism where clients can create a
BatchBuilder
from a givenbatch
, allowing them to append additional files before posting to thedownload-manager
.