Describe the bug
When a nested array or object is empty, it is ignored on saving.
To Reproduce
@Model()exportclassA{
@PartitionKey()id: string
@CollectionProperty({sorted: true,itemType: B})bs: B[]}
@Model()exportclassB{props: {[key: string]: any};}consta1: A={id: uuid(),bs: []}consta2: A={id: uuid(),bs: [{props: {hello: {},world: 'a2'}}]}consta3: A={id: uuid(),bs: [{props: {hello: {arr: []},world: 'a3'}}]}awaitthis.store.put(a1).exec();// { id: ..., bs: [] }awaitthis.store.put(a2).exec();// { id: ..., bs: [{ props: { world: 'a2' }}] }awaitthis.store.put(a3).exec();// { id: ..., bs: [{ props: { world: 'a3' }}] }Expected behavior
a nested empty array or object can be saved.
Describe the bug
When a nested array or object is empty, it is ignored on saving.
To Reproduce
Expected behavior
a nested empty array or object can be saved.