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
In my case, I ended up getting a cryptic error message (in fastboot only)
Upon investigating this, it turns out that the jsonData I am given by way of fetch is likely modified at some point downstream (in my case a DS.Store#push), and it then becomes a circular JSON structure as relationships are wired up.
The end result is that, at the time I call shoebox.put, my object is serializable, but by the time the page is resolved (and the fastboot visit completes), it becomes partially resolved into a much more complex (and circular) structure.
Some ideas for improving this experience:
Better error messages around shoebox serialization
Add info to the readme about when the shoebox serialization takes place
The text was updated successfully, but these errors were encountered:
When using the shoebox, it would seem that the following would make sense
In my case, I ended up getting a cryptic error message (in fastboot only)
Upon investigating this, it turns out that the
jsonData
I am given by way of fetch is likely modified at some point downstream (in my case aDS.Store#push
), and it then becomes a circular JSON structure as relationships are wired up.The end result is that, at the time I call
shoebox.put
, my object is serializable, but by the time the page is resolved (and the fastbootvisit
completes), it becomes partially resolved into a much more complex (and circular) structure.Some ideas for improving this experience:
The text was updated successfully, but these errors were encountered: