You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Settings, ExportSettings, ExportCsvSettings, ExportPdfSettings, and even IntervallStore are largely repetitive and all do their own serialization. It would be great if the boilerplate could be generated.
freezed could generate most of the serialization code but might not work due to immutability and missing listener notification. To improve it, settings objects could be managed in a manual provider class, or the state changes could be managed by "blocs".
Another idea would be to write a custom generator.
Why you want it:
Manually modifying the settings class is currently error-prone and requires far more thought than necessary. Additionally, these huge files artificially inflate project size and make these classes harder to maintain.
The text was updated successfully, but these errors were encountered:
What you want:
Settings, ExportSettings, ExportCsvSettings, ExportPdfSettings, and even IntervallStore are largely repetitive and all do their own serialization. It would be great if the boilerplate could be generated.
freezed
could generate most of the serialization code but might not work due to immutability and missing listener notification. To improve it, settings objects could be managed in a manual provider class, or the state changes could be managed by "blocs".Another idea would be to write a custom generator.
Why you want it:
Manually modifying the settings class is currently error-prone and requires far more thought than necessary. Additionally, these huge files artificially inflate project size and make these classes harder to maintain.
The text was updated successfully, but these errors were encountered: