Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(me/sources): preferences stored on route level not merged #3495

Merged
merged 2 commits into from
Jan 31, 2025

Conversation

schogges
Copy link
Contributor

@schogges schogges commented Jan 31, 2025

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).
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.

@schogges schogges requested a review from a team as a code owner January 31, 2025 16:25
@schogges schogges requested review from johncowen and removed request for a team January 31, 2025 16:25
Copy link

netlify bot commented Jan 31, 2025

Deploy Preview for kuma-gui ready!

Name Link
🔨 Latest commit 091045b
🔍 Latest deploy log https://app.netlify.com/sites/kuma-gui/deploys/679cf969bb28450008c58315
😎 Deploy Preview https://deploy-preview-3495--kuma-gui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Jan 31, 2025

Deploy Preview for kuma-gui ready!

Name Link
🔨 Latest commit 9e5d13f
🔍 Latest deploy log https://app.netlify.com/sites/kuma-gui/deploys/679cf9769a880b000838dee9
😎 Deploy Preview https://deploy-preview-3495--kuma-gui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@schogges schogges merged commit 06c7382 into kumahq:master Jan 31, 2025
17 checks passed
@schogges schogges deleted the fix/me-preferences_per_route branch January 31, 2025 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants