Currently Writers are "dumb" which isn't a bad thing but in a recent scenario I needed the writer to have some data of the import it was writing for.
The specific scenario was writing the data to a db table to be collated later but the row being written had to include the import name to prevent duping.
It also turned out that a few tests were failing on my local due to how PHP error handling was configured. All going well the changes should allow tests to run in both a dev / prod error reporting configuration.
Currently Writers are "dumb" which isn't a bad thing but in a recent scenario I needed the writer to have some data of the import it was writing for.
The specific scenario was writing the data to a db table to be collated later but the row being written had to include the import name to prevent duping.
It also turned out that a few tests were failing on my local due to how PHP error handling was configured. All going well the changes should allow tests to run in both a dev / prod error reporting configuration.