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
The Update.Msg type of your program cannot be reliably serialized for history files.
Functions cannot be serialized, nor can values that contain functions. This is a problem in these places:
Material.Dispatch.Config can contain functions and JSON decoders.
The good news is that having values like this in your message type is not so great in the long run. You are better off using simpler data, like union types, in your messages. From there, your update function can pattern match on that data and call whatever functions, JSON decoders, etc. you need. This makes the code much more explicit and easy to follow for other readers (or you in a few months!)
The text was updated successfully, but these errors were encountered:
@MazeChaZer With the very limited experience I have on Elm and elm-mdl, that sounds like an awful lot of work. Or?
Or, is this something that might be fixed at some stage?
The text was updated successfully, but these errors were encountered: