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 LocalLayoutPersistenceManager, whenever we attempt to read a key from local storage which is not present, we immediately default to returning an empty array. We want to change this behaviour so that an exception is thrown, then caught and handled outside of the persistence manager.
Work Required
In LocalLayoutPersistenceManager, throw an appropriate exception whenever getLocalEntity returns undefined
Catch these exceptions outside of LocalLayoutPersistenceManager and handle appropriately (e.g. defaulting to an empty array)
The text was updated successfully, but these errors were encountered:
Description
In
LocalLayoutPersistenceManager
, whenever we attempt to read a key from local storage which is not present, we immediately default to returning an empty array. We want to change this behaviour so that an exception is thrown, then caught and handled outside of the persistence manager.Work Required
LocalLayoutPersistenceManager
, throw an appropriate exception whenevergetLocalEntity
returnsundefined
LocalLayoutPersistenceManager
and handle appropriately (e.g. defaulting to an empty array)The text was updated successfully, but these errors were encountered: