Skip to content

Commit 013d43b

Browse files
committed
Add missing content to Miugration Guide
- [x] Add missing `IOrderManagement` API changes
1 parent c0108b0 commit 013d43b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/migrations/v8_to_v10.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -416,8 +416,9 @@ The analytics module was doing nothing and the web module was replaced by suppor
416416
### Module Orders
417417

418418
- Removed report from interrupt of an operation. Reporting during an interruption doesn't add any value. The quantity for the report can only be predicted and will be inaccurate if something goes wrong or is reworked during the interruption.
419-
- Facade Renaming:
420-
- `GetOperationAsync` -> `LoadOperationAsync`
419+
- `void InterruptOperation(Operation operation, OperationReport report);` -> `Task InterruptOperationAsync(Operation operation, User user, CancellationToken cancellationToken = default);`
420+
- `event EventHandler<OperationReportEventArgs> OperationInterrupted;` -> `event EventHandler<OperationChangedEventArgs> OperationInterrupted;`
421+
- Allowing more changes on a created operation before starting it.
421422
- `SetOperationSortOrder` and `UpdateSource` were combined to `UpdateOperationAsync`. It supports both functionalities and included changing `PlannedStart` and `PlannedEnd` as well.
422423

423424
#### Async Lifecycle Support for OrderManagement
@@ -460,7 +461,7 @@ Additionally, the APIs of these components have been updated to return `Task` or
460461

461462
**`IOrderManagement`-facade:**
462463

463-
- `Operation GetOperation` -> `Task<Operation> GetOperationAsync`
464+
- `Operation GetOperation` -> `Task<Operation> LoadOperationAsync`
464465
- `Operation AddOperation` -> `Task<Operation> AddOperationAsync`
465466
- `void BeginOperation` -> `Task BeginOperationAsync`
466467
- `void AbortOperation` -> `Task AbortOperationAsync`

0 commit comments

Comments
 (0)