DoubleCiti/mongodb-migrations

Add support to optionally validate a migration and stop in case of upgrade

Opened this issue · 1 comments

  • need to run validation and post the result if the validation has failed anywhere
  • need to stop the migration process if validation fails

how would be that different from putting

if something:
    raise Exception("Validation failed")

on top of upgrade method?