opt out security/consistency features#41
Conversation
- ignoring order doesn't work yet as checksum will be fetched by the index, not id
9797be0 to
e5e59bc
Compare
| if(this.steps[index]){ | ||
| this.steps[index].status = statuses.skipped; | ||
|
|
||
| if(!_steps[dbStep.id] || (dbStep.order && dbStep.order != _steps[dbStep.id].order)){ |
There was a problem hiding this comment.
when writing the test for ignoreOrder i realized there's a problem with dbStep.order as it evaluates to false when order is 0
|
Can this PR be merged? |
|
@BarryOwens sorry i lost touch to the codebase as I needed access to the new mongo driver and opt out of the security related features :/ - therefore i created a not necessary better package to satisfy my needs. Feel free to close this pr(or to pick it up and integrate it, but i cannot remember in which state it is) |
|
What is the status of this issue? I would need a possibility to skip steps or disable checksum validation because I need to replace an existing mirgration, because there was an error in it. |
|
Was this already merged? I need this feature too, cause of some refactorings. |
Add a new optional options parameter:
which can be used to disable file order checking and checksums.