contentful-migration
contentful-migration copied to clipboard
makeRequest and dry run
Expected Behavior
makeRequest is executed when the migration has been validated and confirmed
Actual Behavior
makeRequest runs when the migration is validated
Possible Solution
Steps to Reproduce
- write a migration
- use makeRequest
- run the migration
- observe that makeRequest ran even though you still haven't chosen to apply the migration in the cli
Context
Environment
- Node Version:
- Package Manager Version:
- Operating System:
- Package Version:
Yes, I even have looked at using the context and wiring up getClient, but having the migrations seed pass some form of flag even to allow for developer conditional execution would be helpful -- i.e. pass if it is committing the change or validating, so it is safe to run / does not have side effects