Blacklist nested attributes
See original GitHub issueAssuming my store objects looks like this
{ data: {search: {data: [....]}, history:{search: [...], product: [...]}, favourites: {search: [...], product: [...]}}, navigation: {....}, user: {....}}
How can I blacklist data.search, while keeping data.history and data.favourites ?
I’ve tried with['data.search'], but no luck.
Thank you.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:29
- Comments:8 (2 by maintainers)
Top Results From Across the Web
How to make redux-persist blacklist for nested state?
I understand that if I want to remove tracking completely, I will need to write blacklist: ['tracking'] inside persistConfig , but I'm not...
Read more >List of blacklisted event attributes
Download scientific diagram | List of blacklisted event attributes from ... Malicious properties of DOM and resultant attack exploitation description.
Read more >[SOLVED] Passing variables in nested loops
Hello, I would like to filter rows of a table using a blacklist. The structure of the blacklist is one column containing the...
Read more >Configure the blacklist for views and reports
Groups included in the blacklist are indicated with a blacklist icon in the resource view of the ARM application. Their members are not...
Read more >bmatei/stylelint-config NPM
Selector · selector-attribute-operator-blacklist - disabled since we don't have anything to blacklist · selector-attribute-operator-whitelist - disabled since we ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Here’s a slightly more modular version of @gyosifov’s solution above:
As @brunolemos and @rt2zz have suggested the code looks something like this: