lightblue-platform / lightblue-migrator

GNU General Public License v3.0
3 stars 13 forks source link

Adding Migrator.beforeSaveToDestination #408

Closed paterczm closed 7 years ago

paterczm commented 7 years ago

Allows migrator implementations to see which documents are going to be overwritten and which are going to be inserted. Use case: additional logging for missing documents (ones getting inserted) matching certain criteria.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.01%) to 67.895% when pulling a963bf41cfdf91ffc111d23aa3c13decd8be68b6 on beforeSaveToDestination into 00f5d66ee0e6bce780c5b180c81e208579cd0678 on master.