How do I serialise and deserialise arrays (string) with optional keys?
class MyClass { [key:string]: string[]}
I create observables in runtime when I receive backend response.
But when I decorate it:
@serializible(object(MyClass)) @observable public myModel?: MyClass
I get
How do I serialise and deserialise arrays (string) with optional keys?
class MyClass { [key:string]: string[]}
I create observables in runtime when I receive backend response. But when I decorate it:
@serializible(object(MyClass)) @observable public myModel?: MyClass
I getError: [serializr] expected modelSchema, got undefined
I have tried custom serialisers and such that I've run into on SO, but no luck so far.