Steps to Reproduce
- Initialize a class property with storage<MyObject | null>(null)
- Set said class property with a value of type MyObject: this.myObject.set({foo: "bar"});
- Browser storage will show value as [object Object] and value wont be able to deserialized on page refresh
Expected Behavior
Not only default value but also typed reference is used to check which Serializer should be used to write and read from storage.
Actual Behavior
Incorrect Serializer is used to write and read from storage.
Signality version
0.5.0
Angular version
21.2.6
Browser
Mozilla Firefox
Operating system
macOS
Additional Context
No response
Steps to Reproduce
Expected Behavior
Not only default value but also typed reference is used to check which Serializer should be used to write and read from storage.
Actual Behavior
Incorrect Serializer is used to write and read from storage.
Signality version
0.5.0
Angular version
21.2.6
Browser
Mozilla Firefox
Operating system
macOS
Additional Context
No response