I have an Elm app that would store the entire model into the local storage, 
using `programWithFlags` to feed in the data directly when `init`.
As the app develop, more fields is added to the model so there will be 
model mismatch between localStorage and the new model and Elm would fail at 
the JS side when trying to init.
Obviously, there should be some migration plan here at the js side to 
update the stored model to the new shape.
Personally, I wish I could have something like Json.Decode to handle the 
model directly in Elm, maybe peform a task?
What would you guys recommend to do?

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to