Content
View differences
Updated by Alexander Coles about 19 hours ago
### Goal
Update 59 deprecated RxJS call sites in OpenProject core. Replace `toPromise()` with `firstValueFrom` or `lastValueFrom` as appropriate. Use an observer for `subscribe()`, an error factory for `throwError()`, an array for `forkJoin()`, an inner `map()` for the `switchMap()` result selector, and `map(() => value)` for `mapTo(value)`.
RxJS 7.8.2 marks 53 of these calls for removal in v8 and six `mapTo()` calls for removal in v9. The CKEditor bundle is tracked separately: <mention class="mention" data-id="83417" data-type="work_package" data-text="#OP-20779" data-display-id="OP-20779">#OP-20779</mention>
See [RxJS deprecations](https://rxjs.dev/api/deprecations).
### Hints for QA
No end user perceptible changes.
Update 59 deprecated RxJS call sites in OpenProject core. Replace `toPromise()` with `firstValueFrom` or `lastValueFrom` as appropriate. Use an observer for `subscribe()`, an error factory for `throwError()`, an array for `forkJoin()`, an inner `map()` for the `switchMap()` result selector, and `map(() => value)` for `mapTo(value)`.
RxJS 7.8.2 marks 53 of these calls for removal in v8 and six `mapTo()` calls for removal in v9. The CKEditor bundle is tracked separately: <mention class="mention" data-id="83417" data-type="work_package" data-text="#OP-20779" data-display-id="OP-20779">#OP-20779</mention>
See [RxJS deprecations](https://rxjs.dev/api/deprecations).
### Hints for QA
No end user perceptible changes.