changeset: added changesets for Observable type update
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
---
|
||||
'@backstage/core-api': patch
|
||||
---
|
||||
|
||||
Updated the `Observable` type to provide interoperability with `Symbol.observable`, making it compatible with at least `zen-observable` and `RxJS 7`.
|
||||
|
||||
In cases where this change breaks tests that mocked the `Observable` type, the following addition to the mock should fix the breakage:
|
||||
|
||||
```ts
|
||||
[Symbol.observable]() {
|
||||
return this;
|
||||
},
|
||||
```
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/test-utils': patch
|
||||
---
|
||||
|
||||
Updated `MockErrorApi` to work with new `Observable` type in `@backstage/core`.
|
||||
Reference in New Issue
Block a user