Cretezy / redux_persist

Persist Redux State
https://pub.dartlang.org/packages/redux_persist
MIT License
130 stars 41 forks source link

Blacklist / Whitelist with Redux devtools #66

Open chougron opened 4 years ago

chougron commented 4 years ago

From what I understand, in order to avoid some attributes of the state to be stored, you need to not include it in the toJson function of your state.

Sadly, it is also this function that is used to display the state in the redux devtools (https://pub.dev/packages/redux_remote_devtools).

In my case I would like to see my state changing, to be able to debug my app, but without all of it being stored.

What solution would you suggest ? Could Transformations be used in this case ?

WingCH commented 4 years ago

same problem!

Cretezy commented 3 years ago

Have you tried using transformers for this?

I'll look into supporting another method than toJson to allow support with other tools.

WingCH commented 3 years ago

Can you provide "transformers" example for Blacklist / Whitelist? Thanks...

zombie6888 commented 3 years ago

Same problem here. I am using generated json by json_serializable package for remote devtools.

MichalNemec commented 1 year ago

any updated on this?