Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(me/sources): preferences stored on route level not merged (#3495)
The preferences stored on a route level did not get merged after splitting up sources and storage of `me` in #3408 . Using `merge` only allows to merge two objects. To merge more than two objects we have to use `merge.all` ([ref](https://www.npmjs.com/package/deepmerge#mergeallarrayofobjects-options)). TypeScript would have catched that if we would have added another object, because of too many parameters. Unfortunately the options object is not strongly typed enough to catch `object` as `deepmerge.Options`. Signed-off-by: schogges <[email protected]>
- Loading branch information