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

[Feature Request]: Auto merge deeper than level 2 #1418

Open
SeongwoonHong opened this issue Nov 14, 2022 · 1 comment
Open

[Feature Request]: Auto merge deeper than level 2 #1418

SeongwoonHong opened this issue Nov 14, 2022 · 1 comment

Comments

@SeongwoonHong
Copy link

SeongwoonHong commented Nov 14, 2022

There's autoMergeLevel1 and autoMergeLevel2 apis, but It'd be great if there's Level3 and 4 etc.
I'm already using autoMergeLevel2 but it wouldn't merge anything that's nested more than 3 levels.
for instance, this is my store

user: {
  something: {
    anything: {
          ...,
          hello: []      <--- this will not be merged
      }
  }
}
@PiotrKujawa
Copy link

PiotrKujawa commented Nov 29, 2022

Hi @SeongwoonHong you can use this package which is dedicated to Redux Persist with a nested state https://github.com/PiotrKujawa/redux-deep-persist
It is also mentioned here #1371

@ckalika @rt2zz can you please approve this PR #1391 to let people know about this possibility?

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

No branches or pull requests

2 participants